AnsweredAssumed Answered

Runas 'admin' inside workflows - not really 'as admin'?

Question asked by msvoren on Oct 14, 2009
Latest reply on Oct 16, 2009 by msvoren
Hi everyone!
In new 3.2 alfresco I was testing advanced workflows with "runas" as admin.
The problem is that I can not move attached file from folder A to folder B if user doesn't have AT LEAST cosumer privileges to folder B.
I'm moving files with javascript inside workflow processdefinition:
bpm_package.children[0].move(folderB);

So, can't move file with "admin" privileges if current user is not invited as consumer to folder B.

This shouldn't work like that. On previous alfresco versions I could easily do that, admin could do anything inside advanced workflow javascript.

Alfresco developers, please help!

Outcomes