We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Raghav Sharma24
Giga Patron

In condition field of UI action add condition:

gs.hasRole('admin');

ACL is not required.

View solution in original post

2 REPLIES 2

Raghav Sharma24
Giga Patron

In condition field of UI action add condition:

gs.hasRole('admin');

ACL is not required.

sachin_namjoshi
Mega Patron

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

 

 

Regards,

Sachin