Class SecurityUtil
java.lang.Object
com.logicaldoc.gui.common.client.util.SecurityUtil
Some utility methods related to recurrent security operations
- Since:
- 9.0.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcheckPermissionsAndRun(List<Long> docIds, String[] requiredPermissions, Runnable task) Checks if the user has all the specified permissions on the selected documents and runs the task
- 
Method Details- 
checkPermissionsAndRunpublic static void checkPermissionsAndRun(List<Long> docIds, String[] requiredPermissions, Runnable task) Checks if the user has all the specified permissions on the selected documents and runs the task- Parameters:
- docIds- Identifier of the documents to check
- requiredPermissions- The permissions required on the documents selection
- task- The task to run
 
 
-