05-23-2011 04:43 AM
05-30-2011 07:55 AM
06-09-2011 03:03 AM
Hi jetty,
You can make use of evaluators which will check if the current user has editor role on a document or space , make the action visible or hide it.
The evaluator has to be used with action "start_workflow" defined in web-client-config-workflow-actions.xml.
You can customize this action and place the evaluator.
For the reference you can also check "StartWorkflowEvaluator" java file.
Thanks,
06-09-2011 03:13 AM
Hi jetty,
You can make use of evaluators which will check if the current user has editor role on a document or space , make the action visible or hide it.
The evaluator has to be used with action "start_workflow" defined in web-client-config-workflow-actions.xml.
You can customize this action and place the evaluator.
For the reference you can also check "StartWorkflowEvaluator" java file.
Thanks,
06-09-2011 04:28 AM
06-09-2011 05:58 AM
You can make use of methods of PermissionService.
Try using "getPermissions(NodeRef nodeRef)" method to get the permissions. Also you can check "hasPermission(NodeRef passedNodeRef, final PermissionReference permIn)" of the permissionService.
Thanks,
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.