# Set View permissions through scripting

**URL:** <https://forum.inductiveautomation.com/t/set-view-permissions-through-scripting/78195>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 22, 2023, 6:19am UTC](https://forum.inductiveautomation.com/t/set-view-permissions-through-scripting/78195 "2023-08-22T06:19:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjuyadav95.m](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@manjuyadav95.m](https://forum.inductiveautomation.com/u/manjuyadav95.m)\
**Post date:** [August 22, 2023, 6:19am UTC](https://forum.inductiveautomation.com/t/set-view-permissions-through-scripting/78195/1 "2023-08-22T06:19:20Z")

</div>

Is there any way to configure view permissions through scripting?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/80b8a6d881c39949e33a9b250e765ed605c652d9.png)  
I tried this below method but no optn to pass window path to it ...

```auto
# system.perspective.isAuthorized(True, 'Authenticated/Roles/Administrator')

```

---

<div class="post-metadata">

**Author:** ![sanjanakrishnamurthy](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sanjanakrishnamurthy](https://forum.inductiveautomation.com/u/sanjanakrishnamurthy)\
**Post date:** [March 30, 2026, 8:08am UTC](https://forum.inductiveautomation.com/t/set-view-permissions-through-scripting/78195/2 "2026-03-30T08:08:09Z")

</div>

Hi,

Does anyone have any ideas on this?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 30, 2026, 8:43am UTC](https://forum.inductiveautomation.com/t/set-view-permissions-through-scripting/78195/3 "2026-03-30T08:43:23Z")

</div>

The only option is to edit the view’s json definition in the file itself. AI (Claude) will get you there easily, especially giving an example of a view with an example permission set. Just remember to do a project scan after you edit the file
