# Perspective scripting authoring and updates

**URL:** <https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [October 2, 2019, 3:35pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746 "2019-10-02T15:35:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [October 2, 2019, 3:35pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/1 "2019-10-02T15:35:28Z")

</div>

Is there a way to make it so when someone creates a script it automatically enters the username and date at the top of a script, and then if they update a script it will append the same?

Or is there a way to make it so changes to a project need to be reviewed by a designated user before they can be published? I know I can keep people from editing a project, but I don’t want to stop them I just want to be able to review/approve their changes.

---

<div class="post-metadata">

**Author:** ![bpreston](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@bpreston](https://forum.inductiveautomation.com/u/bpreston)\
**Post date:** [October 2, 2019, 4:04pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/2 "2019-10-02T16:04:30Z")

</div>

As far as I know there is no way to have a script automatically make notes in it for you. It wouldn’t tell you exactly what changed but would limiting the roles that are allowed to publish the project do what your looking for?

[Project Security in Designer and Gateway](https://docs.inductiveautomation.com/display/DOC80/Project+Security+in+Designer+and+Gateway)

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [October 2, 2019, 4:18pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/3 "2019-10-02T16:18:38Z")

</div>

I have thought about that, but I want to be able to limit it per project. I want to be able to assign an owner user/role to each project basically.

---

<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:** [October 2, 2019, 4:24pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/4 "2019-10-02T16:24:42Z")

</div>

You _could_ do that, in some respect - give each user a role specific to that project, and then configure the designer roles appropriately:

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

There’s no way to have a ‘pull request’ model for changes in Ignition, though (unfortunately). In general, the editing experience is something we’re looking at improving, but we don’t have too many concrete plans or timelines. If you have specific ideas, they’re a great fit for the ideas portal.

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [October 2, 2019, 4:30pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/5 "2019-10-02T16:30:59Z")

</div>

I have thought about that also, but it isn’t quite what I want since I can’t give a non owner the option to save but not publish within the project. Unless I am misunderstanding those relations within the project permissions?

This was why I was asking about possibly appending into scripts. Although a change journal for each project would be better actually. Does that exist? I couldn’t find anything.

---

<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:** [October 2, 2019, 4:37pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/6 "2019-10-02T16:37:21Z")

</div>

Saving _is_ publishing, in 8.0 - we removed the separate notions of staging and publishing. Some things that are definitely high on our list to add:

1. A notification in the designer of who is actively editing, and what resources they are actively editing, within the project
2. Some revamped notion of ‘staging vs publishing’ - possibly as a top level feature where two projects are separated as staging vs published, or as an automatic synchronization between ‘dev’ and ‘production’ gateways.
3. Better VCS support - possibly specifically git, where you would actually get a proper changelog and support for indefinite rollback and history.

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [October 2, 2019, 4:38pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/7 "2019-10-02T16:38:26Z")

</div>

That’s what I thought. Thank you. Is there an ETA for those features?

---

<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:** [October 2, 2019, 4:40pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/8 "2019-10-02T16:40:34Z")

</div>

Nothing that I’ll put on a public forum 😄

Concurrent user notification (think Google docs) is already in progress, so probably fairly soon. The other two we need to do a lot more exploration around, so that we get it right the first time.

I would say, generally - don’t expect those to happen this year. So, if you’ve got an urgent business need, you’ll have to come up with your own workaround(s).

---

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [October 2, 2019, 4:44pm UTC](https://forum.inductiveautomation.com/t/perspective-scripting-authoring-and-updates/28746/9 "2019-10-02T16:44:29Z")

</div>

I understand thank you.
