How do I hide or delete the "delete" button? And for everyone except the site admin?

jacqueline_nowa
Kilo Explorer

right now, someone can delete the change at any stage of the ticket. I don't want anyone to be able to delete the ticket (except maybe the system admin).


Thanks,

Ashley

1 ACCEPTED SOLUTION

david_legrand
Kilo Sage

Hi, just create the proper ACL to grant the "delete" right only to the admin



table: change


field: -none-


action: DELETE


role: admin





Nota Bene: Access control list (ACL) rules


View solution in original post

6 REPLIES 6

Chuck Tomasi
Tera Patron

Hi Ashley,



You can create an override for that specific table with the conditions you want. This should help.



UI Action Overrides


Hi Chuck,



I would not advise modifying the UI action "delete" but much more modify the ACL related to the records because the button is displayed when the user has the DELETE rights for the given record, would you agree?


I agree. Good answer.



See, I often miss the "easy way".


david_legrand
Kilo Sage

Hi, just create the proper ACL to grant the "delete" right only to the admin



table: change


field: -none-


action: DELETE


role: admin





Nota Bene: Access control list (ACL) rules