Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to restrict users from deleting the record

Amarjeet Pal
Kilo Sage
Kilo Sage

I have a requirement, I want to restrict user from deleting the record.

how to achieve this requirement by DELETE ACL.

Thanks,

Amarjeet Pal

2 REPLIES 2

weikiat_guaz
Giga Expert

Instead of delete ACL. 

What you can do is go to the TABLE that you going to restrict user to delete record.

Under the access control tab, search for DELETE operation. Then hard code it to RETURN FALSE so no one can delete the record. Or you can make use of the ROLE to limit only ADMIN can delete record.

 

find_real_file.png

TAMIRI SURENDRA
Kilo Explorer

find_real_file.png

UNcheck the can delete option in that particular table. then the the other user for whom you assign the role cannot delete the record.