Revoke delete sample set permissions

LabKey Support Forum (Inactive)
Revoke delete sample set permissions Jon (LabKey DevOps)  2018-11-15 12:37
Status: Closed
 
Hi Eva,

No, there is no function built into LabKey to disable it or revoke delete permissions for a user in this manner. However, you could hide the button by using CSS code (specifically attribute selectors) to identify the link for the button and then applying the CSS code under the Project Settings > Resources. (https://www.labkey.org/Documentation/wiki-page.view?name=customizeLook#project)

However, the downside to using CSS to hide the button is that all users are affected and the button will be hidden from everyone, including admins. So if you need access to that button again, you will have to remove the CSS code to get access to that button again.

For more details on attribute selectors, please checkout the following resources:

https://www.w3schools.com/css/css_attribute_selectors.asp
https://stackoverflow.com/questions/9165479/how-to-hide-an-anchor-tag-by-href-id-using-css

Regards,

Jon