Enabling Delete for Specific Users (Global Disable)

nareshravi
Tera Contributor

We have globally disabled the "delete" option on tables. How can we configure roles or permissions to allow specific users to delete records from certain tables? What is the recommended way to manage this type of granular delete access?

2 REPLIES 2

Dominik Simunek
Tera Guru

How did you disallow delete globally?

 

Considering it was done by an ACL, you can overwrite it by a table-specific delete ACL for a concrete role.

 

For example, create role "incident_deleter" or more generic (if you want it generic deleter rights) "record_deleter". Create ACL for table wanted, e.g. incident.

 

But I am not sure how you disabled delete globally, as baseline platform brings tens or maybe hundreds of delete ACLs that allow deletions on concrete tables. Did you deactivate them all?

nareshravi
Tera Contributor

Hi, @Dominik Simunek , Thanks. Yes, we have turned off all the delete ACLs. I will try to implement the solution you suggested.