Restrict Delete Button only for admins

Gowtham29
Tera Expert

Hi Everyone,

We have delete button on the release form. I want to make visible that button only for admins. I opened delete ui action on the global table and inserted it on rm_release(Release table) by using Insert and stay option which is available on the form context menu.

The button now is available only for admins, but from admin profile, when i clicked on delete button, no action is happening now. Can someone help me how to resolve this issue ? please do needful. Thank you.

1 ACCEPTED SOLUTION

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

I will do it using ACL. You should have delete acl on this table and instead of copying the button and over riding it. Use ACL.

Thanks,
Ashutosh

View solution in original post

5 REPLIES 5

Arunava1
Tera Contributor

Hi,

 

Find the Delete Action among the associated ACLs for that particular table and change the role to desired one. Below example : where I made the Delete Action available for the Admin for Contract table.

find_real_file.png

Thanks !

Arunava