Issue with security admin and elevate roles

kimmonaaly
Kilo Contributor

I'm missing the ability to Elevate Roles. To go further I don't see the security admin in of my available roles? Has anyone else experienced this issue?

7 REPLIES 7

Inactive_Us1474
Giga Guru

Hi,



Is elevate roles option missing in your profile?   Once you click the elevate roles option then only you can see the security_admin role under your roles tab.



Thanks.


jpavanaryan
Tera Expert

Hello Kim,



Somehow security_admin role is not visible to admins in Istanbul (Strange). You can try below script to assign yourself security_admin privileges




var sr = new GlideRecord("sys_user_role");


        sr.addQuery("name","security_admin");


        sr.query();


          if (sr.next())


        {


              var hh = new GlideRecord("sys_user_has_role");


              hh.initialize();


              hh.user = gs.getUserID();


              hh.role = sr.sys_id;


              hh.insert();


          }        


jarodm
Mega Guru

Yep, starting in Helsinki the security_admin role is only accessible/visible to those already holding the role.



JarodM


Dave Smith1
ServiceNow Employee
ServiceNow Employee

Slight amendment: the security_admin role is accessible to those who have elevated.



Once elevated, it's possible to confer the role.