Perspective Security Levels

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:

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

image

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

image

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?

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+Level+Rules