Need to see the list of roles

rah dev
Tera Contributor

Hi Community, Good day,
there is a requirement
when I search ‘Access Control’ in the filter navigator and open any record, the ‘Roles Required’ field doesn’t show anything even if I have a role added there or not. So this needs to be fixed because for one user the roles are visible in that field, but when I impersonate to another, the roles don’t appear for that same record. So we just need to fix this.

rahdev_0-1764627334363.png

thanks

2 REPLIES 2

Hemanth M1
Giga Sage
Giga Sage

Hi @rah dev ,

 

 

Roles Required are stored in a separate table, i.e., "sys_security_acl_role" (Access Roles), which is brought onto the ACL records. You need the admin role to read this roles info (out of the box). Check the ACLs on this table - sys_security_acl_role


If you would like to tweak this and add other roles to this, please test thoroughly before doing this. I would also like to know -what’s the use case here to know the ACL required roles?



ex:

HemanthM1_0-1764646530681.png

 

HemanthM1_1-1764646599794.png

 

Hope this helps!

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Sarthak Kashyap
Mega Sage

Hi @rah dev ,

 

Did you give yourself security_admin role ? If no check below steps 

 

Click on your avatar icon on right top corner< clock on Elevate role and give security_admin role

SarthakKashyap_0-1764662020459.png

 

Please mark my answer correct and helpful if this works for you

Thanks and Regard,

Sarthak