Hello, I am having some trouble with Roles, they just won't show on the security level rules screen. Ignition version 8.1.42, docker image running on WSL
- Our UserSource is in manual mode, and running the query brings back roles
- As well system.user.getRoles("") also returns all the roles
- Under Edit Users the Roles tab shows the roles
But:
No roles?
I am curious,
in the designer do the roles show up when accessing the configure view permissions section?
IIRC, roles have to be manually added to the gateway's config page referenced in that screenshot before they can be referenced in your UI.
So you actually have roles here? under the user,roles section in the gateway config.
The only other thing I can think of is maybe in your project properties you don't have the IdP setup to the right one, but that wouldn't explain there being no roles or anything in the Security levels section
These are our roles. Can't edit them directly since we are using manual mode.
I tried also in automatic mode and just added a few roles and still they wouldnt show up in the security level rules or the project
I see, I missed the manual mode.
as Phil said you may need to add them manually to the config section, as they may not pull in from the database. This is done by just adding in the roles section and the names of the roles under that just like in my example screenshot.
If this is not satisfactory you may need to contact support.
Even trying that doesn't work, might be a bug or something. I'll contact support
1 Like
Had the Config->Security>Security Levels, not set up right. Once that was right they showed up in the idp
2 Likes