# Lag in Restricting Dashboard Tile Display in Perspective

**URL:** <https://forum.inductiveautomation.com/t/lag-in-restricting-dashboard-tile-display-in-perspective/100935>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 15, 2025, 5:26pm UTC](https://forum.inductiveautomation.com/t/lag-in-restricting-dashboard-tile-display-in-perspective/100935 "2025-01-15T17:26:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_Glantz](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sean\_Glantz](https://forum.inductiveautomation.com/u/Sean_Glantz)\
**Post date:** [January 15, 2025, 5:26pm UTC](https://forum.inductiveautomation.com/t/lag-in-restricting-dashboard-tile-display-in-perspective/100935/1 "2025-01-15T17:26:30Z")

</div>

I have a dashboard view with multiple tiles that represent different sites. Each tile uses the same embedded view with params to control the data that is displayed.

I've used expression binding on the display property for each tile so that they will display based on the users authorization role (see script below). It works, however all of the tiles display for a fraction of a second on the screen after logging in as any authorized user, and then they are quickly hidden. I don't think any actual data is being displayed since I have set the embedded view to load after-parent. Is there a way to prevent this loading issue, and is the data still restricted?

If ({session.props.auth.user.roles[0]}='Administrator',true,  
If ({session.props.auth.user.roles[0]}='test\_client\_sisters',true,false))

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 15, 2025, 5:38pm UTC](https://forum.inductiveautomation.com/t/lag-in-restricting-dashboard-tile-display-in-perspective/100935/2 "2025-01-15T17:38:54Z")

</div>

Right click the property you have bound, and change it to be 'Persistent', and ensure that you save the project with a value of _false_ specified.

Then the initial load in of the page will use the persisted value (false) and only if the binding evaluates to true will it be shown.

Separately, I'd recommend switching to the `isAuthorized` expression function:

> **[isAuthorized | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/expression-functions/users/isAuthorized)**
>
> Returns a qualified value with a boolean value which is true if the user in the current Session is authorized, false otherwise.

As in:  
`isAuthorized(true, "Authenticated/Roles/Administrator", "Authenticated/Roles/test_client_sisters")`
