Create a Container with Default Module via JavaScript

LabKey Support Forum (Inactive)
Create a Container with Default Module via JavaScript Jon (LabKey DevOps)  2015-04-06 16:23
Status: Closed
 
Hi Bront,

You can assign permissions via the LABKEY.Security.savePolicy (https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Security.html#.savePolicy), but there is nothing within the JavaScript API to allow you to enable/disable modules. The only option when it comes to modules is to see what modules are installed and whether they're active & enabled for the specific container you're looking at via LABKEY.Security.getModules (https://www.labkey.org/download/clientapi_docs/javascript-api/symbols/LABKEY.Security.html#.getModules)

Regards,

Jon