cancel
Showing results for 
Search instead for 
Did you mean: 

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

msvoren
Champ in-the-making
Champ in-the-making
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!
1 REPLY 1

msvoren
Champ in-the-making
Champ in-the-making
ReadProperties permission for a person who executes transition, is necessary to move document "as admin" to destination folder.

Alfresco Developers, why is this a case?

Thanks!