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 !