ACL Working but Task not completed.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
Hello all,
in the Configuration items (cmdb_ci) list view, I have brought "Attested" column.
Now, I have written an ACL, that only Support Group member of the CI, should only edit that Attested field.
So, the operation is list_edit and Configuration item -- Attested.
Role I have given is itil
and in the script part,
answer = gs.getUser().isMemberOf(current.support_group.toString());
gs.log("Answer is "+answer);
When I impersonate in between the users, I am getting true and false values. But whenever I am getting true value, the user still Not able to edit the field.
Why?
Can someone please help?
Regards,
Lucky
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @Lucky1 ,
Please share ACL definition screen shot, also check the same without active ACL, if there is any other restriction applied.
try this code and let us know if its working in your case.
answer = gs.getUser().isMemberOf(current.getValue('support_group'); // validate the support group variable name.
Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution