01-30-2014 11:38 AM
01-31-2014 03:29 AM
/**
* Only selects process definitions which given userId is authoriezed to start
*/
ProcessDefinitionQuery startableByUser(String userId);
07-11-2014 06:55 AM
07-14-2014 01:02 AM
org.activiti.examples.bpmn.authorization.StartAuthorizationTest#testPotentialStarter
in activiti sources.
ProcessDefinition potentialStarter = repositoryService.createProcessDefinitionQuery().processDefinitionKey("potentialStarter").startableByUser("user1").latestVersion().singleResult();
07-14-2014 08:22 AM
07-14-2014 08:27 AM
07-14-2014 08:27 AM
07-14-2014 08:28 AM
07-15-2014 12:54 AM
NOTE that the authorization definition is NOT validated by the Activiti Engine in any way. This functionality is only meant for developers to ease the implementation of authorization rules in a web client.
07-16-2014 02:39 AM
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.