checkAndNotifyCrudPermission
checkAndNotifyCrudPermission(
crudAction,resourceMeta,withId?):boolean
Checks if the user has the necessary CRUD permission for a given resource. Notifies if access is denied.
Parameters
crudAction
The CRUD action to check
resourceMeta
Metadata of the resource to check permissions against
withId?
resource instance
Returns
boolean