cancel
Showing results for 
Search instead for 
Did you mean: 

system vs admin

rjohnson
Star Contributor
Star Contributor
I have searched these forum and Google to try and find any words of wisdom as to the difference between runas="system" and runas="admin"

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

runas="system" should be preferred when you need to run a piece of code with elevated permissions, e.g. because it is an inherent part of a functionality and should not be restricted by user permissions. runas="admin" can be problematic because the "admin" is a real user and may be deleted - once that happens, any runas="admin" code will cease to work. We just had an issue discussed on the IRC channel #alfresco this week where exactly this happened and broke a major feature for the user.

Regards
Axel

rjohnson
Star Contributor
Star Contributor
Understood. Many thanks