List view edit functionality for user with roles using ACL

Dee S
Giga Guru

Requirement is user with manager/agent should be able to edit assigned_to field on list view of a table.

If the User has Agent role, they should have list edit functionality where they can only assign the task to themselves.

If the User has manager role, then they can assign the task to themselves or any of their direct reports.

 

Need help with ACL scripting for above requirement

4 REPLIES 4

Harish Kota
Kilo Sage

Hi @Dee S 

 

ACL scripting is not required for this requirement.

 

You can create 'list_edit' ACL and add User and Manager to roles as per the below screenshot.

 

HarishKota_0-1677567772935.png

 

Please hit like/Accept as solution if it works for you.

 

Thanks,

Harish Kota

Hi @Harish KotaKota, Thank you for your reply,

How to give condition for below:

If the User has Agent role, they should have list edit functionality where they can only assign the task to themselves.

If the User has manager role, then they can assign the task to themselves or any of their direct reports.

 

Do I need to require creating 2 ACLs?

 

 

 

Hi @Dee S 

 

1 ACL is enough to achieve your requirement, please create and test.

 

please hit like/Accept as solution, if it works for you.

 

Thanks,

Harish Kota

thanks! what is the default behaviour for any user to edit the list view? Any user can edit the list records but limited access to assign tasks?