Security levels with rules in perspective

Hi!
I am developing a standardized SCADA project for my customer that they should be able to use on multiple different gateways in multiple different factorys without having to make changes to the perspective project since it is going to be continuously updated and features added over time.

Some of the screens are only allowed to be accessed by people with high enough access, but since its going to be located in different factorys the AD-roles will look different depending on the organisation on the site. So i created two basic custom securuty levels ("SMASH,Superuser" and "SMASH,User) and i applied rules for them in the gateway so that only gateway configuration need to be changed between installations.

Now the customer needs to be able to se which security level they belong to when they log in. So how can i tell what levels the users belong to and put it in a text field. In the session.props i only seem to be able to see the complete set of roles that i recieve from the AD.


Access to the Perspective Session Properties > auth > securityLevels

Make sure you have correctly set the security level rules under your IdP. If you are not being mapped to one of those expected security levels, it's probably because you have some problem in those rules.

could there be a missmatch between what i see in the designer and what is there in a live perspective session?

For sure, if you have different IdPs between your project and the designer.