Good morning,
I have a question regarding Ignition Perspective on Edge. Instead of logging the user out after a period of inactivity, I would like the session to either remove the current user’s permissions or switch to another user profile with no permissions – in other words, to a “viewer” user who cannot change setpoints, activate pumps, etc.
How can I implement this behaviour in an Edge project?
Perspective cannot programmatically switch users, whether Edge or Standard. It is a task that simply cannot be done without user involvement in the Identity Provider. Logout is the only downgrade operation possible.
Consider scripting your actions on inactivity timeout.
You can set up read-only access to the tag provider & project with an unauthenticated user. Log the user out, but permit the session to continue unauthenticated.
For Edge cases, consider limiting unauth access by adding a security zone (localhost, for example) to have the access you desire, tags and project can use this zone to persist a session on logout - only if the session is local.