# Perspective Security Level Binding to Tab or Page Visibility

**URL:** <https://forum.inductiveautomation.com/t/perspective-security-level-binding-to-tab-or-page-visibility/60239>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 31, 2022, 11:42pm UTC](https://forum.inductiveautomation.com/t/perspective-security-level-binding-to-tab-or-page-visibility/60239 "2022-05-31T23:42:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casey\_Roman](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@Casey\_Roman](https://forum.inductiveautomation.com/u/Casey_Roman)\
**Post date:** [May 31, 2022, 11:42pm UTC](https://forum.inductiveautomation.com/t/perspective-security-level-binding-to-tab-or-page-visibility/60239/1 "2022-05-31T23:42:20Z")

</div>

I am working on a perspective project that is handed 3 separate IDs from Azure SSO - one of the IDs should only be allowed to view 2 of the 7 pages of the project. I was thinking that maybe this should be accomplished binding the Security level of this ID to the Auth property in Session props but not sure. Has anybody else done anything similar?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/1/417cbac17534ee60615d396070e19c86d4a9159b.png)

---

<div class="post-metadata">

**Author:** ![Casey\_Roman](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@Casey\_Roman](https://forum.inductiveautomation.com/u/Casey_Roman)\
**Post date:** [June 1, 2022, 2:42pm UTC](https://forum.inductiveautomation.com/t/perspective-security-level-binding-to-tab-or-page-visibility/60239/2 "2022-06-01T14:42:22Z")

</div>

What if we used an expression tag to get the users specific Role from the IDP and then use that Role to indirectly reference the Visibility param with generic roles such as operator, view only, etc.?

---

<div class="post-metadata">

**Author:** ![swolnisty](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@swolnisty](https://forum.inductiveautomation.com/u/swolnisty)\
**Post date:** [June 1, 2022, 4:13pm UTC](https://forum.inductiveautomation.com/t/perspective-security-level-binding-to-tab-or-page-visibility/60239/3 "2022-06-01T16:13:26Z")

</div>

You can add role-based access permissions to any view in Perspective. Open the view, then right click on it in the project browser and select “Configure View Permissions…”:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/1/3186dffae23fcc232ce3bc20733d8a334b9a6045.png)

Any custom security levels you have created prior to doing so should be listed in the popup.

---

<div class="post-metadata">

**Author:** ![Casey\_Roman](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@Casey\_Roman](https://forum.inductiveautomation.com/u/Casey_Roman)\
**Post date:** [June 14, 2022, 12:53pm UTC](https://forum.inductiveautomation.com/t/perspective-security-level-binding-to-tab-or-page-visibility/60239/4 "2022-06-14T12:53:14Z")

</div>

Thanks @swolnisty I got it going now!
