In London version, Unable to add security_admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 10:31 AM
When adding security_admin role to a user, one must elevate his security privilege. How does this validation work? Does any business rule control this? In London, we are getting error - 'User admin without admin/security_admin role is not allowed to grant admin/security_admin-containing roles or groups.' when trying to add security_admin role.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 10:38 AM
In the base system, only the default System Administrator (admin) user has the security_admin role. Since it requires elevating privileges, the admin user does not have this role at login. After elevating privileges, the admin user has the security_admin role for the duration of the user session.
https://docs.servicenow.com/bundle/london-platform-administration/page/administer/security/concept/security-admin-role.html
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 10:46 AM
We actually have a group that contains both admin and security_admin role, if a user that already has existing admin and security admin tries to add another user to this group without elevating his privilege his getting "'User admin without admin/security_admin role is not allowed to grant admin/security_admin-containing roles or groups.'" This only happened in London.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 10:48 AM
I think you just answered your own question there:
' if a user that already has existing admin and security admin tries to add another user to this group without elevating his privilege his getting "'User admin without admin/security_admin role is not allowed to grant admin/security_admin-containing roles or groups."'
In London you have to have the secuirty_admin role and be in the elevated state to add a user to a group containing secuirty_admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2019 10:51 AM
Yes, what control this validation - the need to elevate privilege? Business rule? ACL? Prior to London we were able to add new security admins without elevating privilege.