AnsweredAssumed Answered

Use of node.setPermission

Question asked by sanketgosavi on Oct 15, 2014
Latest reply on Oct 17, 2014 by sanketgosavi
I have written the code
node.setPermission("AdminRole", user);

in java backed webscript

When i logged in as admin the above code executes fine.

But it fails for non-admin users with exception : Access Denied.  You do not have the appropriate permissions to perform this operation.

How I can make it possible for non admin user.

Suggest !