Access rights in a module

LabKey Support Forum (Inactive)
Access rights in a module Zoya Pasha  2017-11-07 02:31
Status: Closed
 
I am building a module where I wish a user to add/edit queries. For any set of users, if I give them Folder Administrator rights, they can add/edit queries, as well as the wiki pages. How do I restrict them from editing the wiki pages? Also, I want them to be able to edit the user - defined queries only. How do I go about it?
 
 
Jon (LabKey DevOps) responded:  2017-11-07 23:07
Hi Zoya,

Admins have full rights to their respective containers, so there is no way to restrict admins from editing wikis.

Restricting Admins from editing wikis isn't possible without hacking the core code, which isn't supported.

The same goes for queries as well. An admin has rights to edit queries and the design of most tables.

Regards,

Jon
 
Zoya Pasha responded:  2017-11-08 01:52
If I do not give them Folder Administrator rights, and instead just assign them as Author, Reader, and Submitter, they can edit queries, but cannot create new ones. How can I give them the rights for the same?
 
Jon (LabKey DevOps) responded:  2017-11-10 12:41
Hi Zoya,

Authors, Readers, and Submitters shoudn't have the capability to edit any queries. The only thing they can do is to view the data of the queries, but they have no rights to view the SQL code that the query is comprised of. Those right are strictly for Admins via the Query Browser.

With regard to preventing Admins from editing wikis, the only other possible thing you could do is to hide the menu options for the wikis via CSS code. However, in doing so, you will also be prevented from seeing those options as well, which would make administration more difficult.

Regards,

Jon
 
Zoya Pasha responded:  2017-11-13 20:25
Thank you Jon!!