how to apply ACL on UI action buttons?

tejasweenipradh
Kilo Contributor

I have created IN progress button using UI action which changes the new state to IN progress.

I want to apply ACL on the UI action button which I have created. Like I have created IN progress button on the incident form. and Now I have to create an ACL so that button will only visible to admins not to normal users which don't have admin access.

1 ACCEPTED SOLUTION

RaghavSh
Kilo Patron

In condition field of UI action add condition:

gs.hasRole('admin');

ACL is not required.


Raghav
MVP 2023

View solution in original post

2 REPLIES 2

RaghavSh
Kilo Patron

In condition field of UI action add condition:

gs.hasRole('admin');

ACL is not required.


Raghav
MVP 2023

sachin_namjoshi
Kilo Patron
Kilo Patron

You need to use UI action conditions to show, hide UI actions.

 

 

Regards,

Sachin