Setting user permissions programmatically

LabKey Support Forum (Inactive)
Setting user permissions programmatically Matthew Bellew  2012-09-08 11:23
Status: Closed
 
https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Security.html

These are the same APIs used by the built-in administration pages. Of course you have to be logged in as an administrator to change permissions.

These _should_ work for datasets and other "securable resources" , but they aren't used by those management pages, so your mileage may vary. Let us know if you hit any snags.