- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 03:12 AM
Hello guys,
was wondering if anyone would be able to help me out. I created a role called escalation_admin and I've then since added some ACLs to a field for Write and List_edit which require that role.
I've ensured that Admin override was set to false but when looking at the fields as an Admin they still appear to be changed despite my admin account not having the escalation_admin role I've created and delegated in the ACL. My goal was to restrict this to everyone including admins unless they had the escalation_admin role.
Can I get some guidance on what I'm doing wrong?
Thanks all
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 04:29 AM
Hi Kyren,
This is because admin users pass role checks.
That's why basing your ACL only upon role checks would not be efficient when it comes to managing admins access,
and we have to keep in mind that admins are in control of the platform, they can grant roles to themselves, manage group memberships and ACLs.
Despite that, to make this work for this use case, you need to create an ACL which has additional conditions beyond only role checks.
You may consider creating a group for your escalation admins, and do a group check in your ACL script on top of the role check in the Requires role related list:
answer = gs.getUser().isMemberOf('Escalation Admins');
Hope this helps.
Cheers,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 03:15 AM
can you share the acl screen shot?
Also turn on the debug and check is there any other acl not allowing yours to override
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 03:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 03:36 AM
in script
put answer=true;
if that doesnt work
- if(gs.hasRole('rolename'))
- {
- answer = true;
- }
- else {
- answer = false;
- }
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 03:56 AM