# Perspective Security Levels

**URL:** <https://forum.inductiveautomation.com/t/perspective-security-levels/78816>\
**Category:** Ignition\
**Tags:** ignition81, perspective, security\
**Created:** [September 6, 2023, 2:24pm UTC](https://forum.inductiveautomation.com/t/perspective-security-levels/78816 "2023-09-06T14:24:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnayback](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@bnayback](https://forum.inductiveautomation.com/u/bnayback)\
**Post date:** [September 6, 2023, 2:24pm UTC](https://forum.inductiveautomation.com/t/perspective-security-levels/78816/1 "2023-09-06T14:24:52Z")

</div>

Hey all,

Not sure if something is not configured properly, or if I am straight-up missing something. For authentication, we use AD user source for users and roles. When looking at the perspective session, we can see all of the roles as security levels:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/9/d9b094bb90713ecf67d426b85c7ed9fc7643789a.png)

But when I go to assign view permissions bases on these roles, there are none there:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/a/3a86223509a983a82b01155b25da9c87a1b7a4b8.png)

After digging around, I read that these also need to be configured in the security levels page of the gateway:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/3/339a1220cef6e202eed7ba8b231843e0a131cd6f.png)

I guess my question is, how come I can see these roles automatically come through to the 'securityLevels' property of the session auth, but I cannot use them until I configure them in gateway \> config \> security levels?

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [September 7, 2023, 7:03am UTC](https://forum.inductiveautomation.com/t/perspective-security-levels/78816/2 "2023-09-07T07:03:16Z")

</div>

Roles come from the user source, levels are created by you and mapped using rules in your IDP likely matching roles returned from the user source.

[https://docs.inductiveautomation.com/display/DOC81/Security+Levels](https://docs.inductiveautomation.com/display/DOC81/Security+Levels)  
[https://docs.inductiveautomation.com/display/DOC81/Security+Level+Rules](https://docs.inductiveautomation.com/display/DOC81/Security+Level+Rules)
