You can help by commenting or suggesting your edit directly into the transcript. We'll review any changes before posting them. All comments are completely anonymous. For any comments that need a reply, consider emailing docs@inductiveautomation.com.
Version:
LESSON LIST
LESSON
View Security
Description
Learn how to restrict access to specific views in your Perspective project.
Video recorded using: Ignition 8.1
Transcript
(open in window)[00:00] In this lesson, I'll demonstrate how to set up security to restrict which users have access to a view in Perspective. To add security to a view, I'll need to make sure that it's open. Once it's open, I can right click the view in the project browser and click configure view permissions. On this window, I have access to the security levels, including roles, that have been configured for this gateway. If I want to use one of the security levels, I can click on the checkbox next to it and I can include as many as I'd like. Then I can select whether or not the user must match all the selected security levels or at least one of them. I'll switch over to a Perspective session to show this in action. This project contains two different views, View 1 and View 2. I can navigate between the views by clicking on the navigation buttons I've set up, and you can see that I can clearly navigate back and forth without issue. I'll go back to my Designer and add some security to one of the views. I'll click configure view permissions for View 2, and then I just wanna add the "Authenticated" security level.
[01:04] This will make it so the user must be authenticated if they want to access the view. I'll click OK to submit my changes and I'll save my project. Back in my session, I'll try to navigate to View 2 again. However, this time I see a message that I don't have the permissions to load this view. If I navigate back to View 1, I'll click the login button to authenticate. I'll enter the credentials for my admin user and login. To confirm I'm logged in, I can expand the session app bar at the bottom of the screen and then view my session status popup to confirm that I'm currently authenticated as "admin". Now when I click the button to navigate to View 2, I no longer see the access denied message because I have the required permissions.