Prevent deleting a record of a custom table.

Rene14
Kilo Explorer

I want to prevent deleting a record of a custom table.

I want to check a condition to delete the record. I use client script or busines rules.

 

How can I test the "delete" button or disable the "delete" button?

Very Tahnks!

 

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

Add or modify existing ACL on that table with operation of Delete and limit to admins only. Then nobody should be able to delete a record unless they have admin role.

View solution in original post

3 REPLIES 3

Michael Fry1
Kilo Patron

Add or modify existing ACL on that table with operation of Delete and limit to admins only. Then nobody should be able to delete a record unless they have admin role.

Abhinay Erra
Giga Sage

I agree with Michael. You will have to update the delete ACL on your table. What are your conditions for delete on this table?

Yadin
Tera Contributor

First time I have tried messing with access controls, but I'm not finding that they work?

Unclear what the "Active" checkbox actually does.  I have tried turning that off and on.  Tried turning off the admin override.  Tried removing the default role.  Nothing I do prevents creation or deletion of records in this table, or causes those buttons (new and delete) to be hidden.