As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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,
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,