privileged application

LabKey Support Forum (Inactive)
privileged application martin  2015-04-16 03:31
Status: Closed
 
hi,

we are trying to give some users a permission to create folders or set folder permissions (and generally other admin stuff), but don't want to make those users (even folder) administrators

is there a way to let those non-admins run a privileged (preferably javascript) application that will itself have administrator permissions?

best regards,
martin
 
 
Jon (LabKey DevOps) responded:  2015-04-16 11:33
Hi Martin,

The only way to pull this off to where a non-admin can run applications that will have admin permissions is to have Java code via a custom module running on the server to do this. The client side isn't fully trusted, so there wouldn't be any way a non-admin could do admin stuff directly via javascript alone or out of the box with the standard LabKey build.

Please review our module documentation for more information: https://www.labkey.org/wiki/home/Documentation/page.view?name=simpleModules

Regards,

Jon