ACL issue on Agent Workspace

Nishant16
Tera Expert

Hi 
i have an issue with a Write ACL on Agent workspace, it is working fine in the native UI, but not functioning in Agent Workspace.

I have created a new custom field "u_active" on Attachments table to mark the attachments inactive. Anyone can mark them active false, however only Admin and member of a particular group should have access to re-active the attachment.

Nishant16_0-1668161820379.png


i am able to do mark them active=false on Native UI, but the ACL is not working on Agent workspace and the internal user is unable to make the Active=false

Nishant16_1-1668161941819.png


can someone suggest what is wrong and how can i make it work

 

1 REPLY 1

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Can you try the below:-

 

 gs.getUser(),hasRole('admin') instead of gs.hasRole('admin')

 

Also even if you make this ACL false does the user have access to activate the attachment on workspace if not then maybe there is some other ACL restricting it.

 

Please mark my answer as correct based on Impact.