gerardharvey / proto-athena

0 stars 1 forks source link

Replace getWorkflowDefinitions() with getUserWorkflowDefinitions() #10

Open maoo opened 10 years ago

maoo commented 10 years ago

On file start-workflow.js we introduce and use the method getUserWorkflowDefinitions().

Such method could be placed into a more generic place, such as a file in classpath:alfresco/site-webscripts/co/uk/rrd/alfresco/workflow/workflow.lib.js

As a consequence start-workflow.get.js would have to import the new JS library file:

<import resource="classpath:alfresco/site-webscripts/co/uk/rrd/alfresco/workflow/workflow.lib.js">

Hereby is the list of files in Alfresco Share that use the method getWorkflowDefinitions() and that may need to be restricted only for user-specific workflows: