Class ReportProcessPermissionChecker
java.lang.Object
com.kingsrook.qqq.backend.core.actions.permissions.ReportProcessPermissionChecker
- All Implemented Interfaces:
CustomPermissionChecker
-
Field Summary
Fields inherited from interface com.kingsrook.qqq.backend.core.actions.permissions.CustomPermissionChecker
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermissionsThrowing
(AbstractActionInput actionInput, MetaDataWithPermissionRules metaDataWithPermissionRules) This is the primary method of the interface, which is called when it's time to check if a user (current session) has permission.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.actions.permissions.CustomPermissionChecker
buildAvailablePermission, buildBaseAvailablePermission, handlesBuildAvailablePermission
-
Constructor Details
-
ReportProcessPermissionChecker
public ReportProcessPermissionChecker()
-
-
Method Details
-
checkPermissionsThrowing
public void checkPermissionsThrowing(AbstractActionInput actionInput, MetaDataWithPermissionRules metaDataWithPermissionRules) throws QPermissionDeniedException Description copied from interface:CustomPermissionChecker
This is the primary method of the interface, which is called when it's time to check if a user (current session) has permission.- Specified by:
checkPermissionsThrowing
in interfaceCustomPermissionChecker
- Parameters:
actionInput
- generally the input data container for the action being performed - e.g., an InsertInput or RunProcessInputmetaDataWithPermissionRules
- the table/process/etc that is being requested by a user.- Throws:
QPermissionDeniedException
- to indicate the user does not have permission. The method should return without exception to indicate permission granted,
-