Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Rota Manager - Role Grandted by Group

raprohaska
Kilo Guru

ACLs around the cmn_rota tables use the "hasroleingroup" function which looks for a role granted by the specific group tied to the ROTA. First off, we don't want all of our users within the group tied to a ROTA to be a ROTA Manager. Secondly, when I grant the role to the group, the User Role is marked as inherited but not as Granted By.

I cannot find any documentation on how to set Granted By on a User Role.

If anyone understands the ROTA ACL mechanism and how to properly setup the groups, I would love to hear how.

Thanks in advance,

AA

1 ACCEPTED SOLUTION

Joe McCarty1
ServiceNow Employee

Take a look at the OOB 'Delegate roles to group member' catalog item.   You can delegate the role for a specific group (i.e. only rota_manager for a specific group).   On the sys_user_has_role table, this should result in a record that has the granted by set to the group.



https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/administer/roles/concept/c_Dele...


View solution in original post

2 REPLIES 2

Joe McCarty1
ServiceNow Employee

Take a look at the OOB 'Delegate roles to group member' catalog item.   You can delegate the role for a specific group (i.e. only rota_manager for a specific group).   On the sys_user_has_role table, this should result in a record that has the granted by set to the group.



https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/administer/roles/concept/c_Dele...


Thanks, I'll try this out and see if it gets us the functionality we need. If so, I'll mark as correct answer. Thanks again.