# Lock dashboard when somebody else is using it

**URL:** <https://discourse.nodered.org/t/lock-dashboard-when-somebody-else-is-using-it/18277>\
**Category:** Dashboard\
**Created:** [22 November 2019 10:54 UTC](https://discourse.nodered.org/t/lock-dashboard-when-somebody-else-is-using-it/18277 "2019-11-22T10:54:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miniu](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Miniu](https://discourse.nodered.org/u/Miniu)\
**Post date:** [22 November 2019 10:54 UTC](https://discourse.nodered.org/t/lock-dashboard-when-somebody-else-is-using-it/18277/1 "2019-11-22T10:54:35Z")

</div>

Hi,

Is there a possibility to lock (ex. show some window text box on the screen) dashboard screen when somebody else is using it actually ( connected from diffrent IP)?

Thank you in advance for help,

Michał,

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [22 November 2019 22:11 UTC](https://discourse.nodered.org/t/lock-dashboard-when-somebody-else-is-using-it/18277/2 "2019-11-22T22:11:10Z")

</div>

I'm not going to say I know the answer, but there is a way you could do it.

Say you are using the dashboard on _machine1_ which has its own IP address.  
You want to change what someone else sees when they are using another machine.  
(Basically NOT _machine1_ and a different IP address.)

One way is that you give them a link to a different screen than the one you use/see.  
This will also mean you need to edit what is shown in the _menu_ list (top left) of the GUI screen.

Then, unless they know the exact name of the other screens: they are pretty well stuck looking at that dashboard.

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [23 November 2019 19:59 UTC](https://discourse.nodered.org/t/lock-dashboard-when-somebody-else-is-using-it/18277/3 "2019-11-23T19:59:07Z")

</div>

You can use the ui-control node of the dashboard. This sends a message when a new session is created or an existing is closed/loss. When yo keep track on the session ids then you can either send a message to this, all other or all dashboards. Or even make your flow capable of multi sessions.

---

<div class="post-metadata">

**Author:** ![Miniu](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Miniu](https://discourse.nodered.org/u/Miniu)\
**Post date:** [28 November 2019 11:26 UTC](https://discourse.nodered.org/t/lock-dashboard-when-somebody-else-is-using-it/18277/4 "2019-11-28T11:26:38Z")

</div>

I misunderstood how ui-control works. Thank you @Christian-Me for pointing me to the solution. I haven't written a working code yet, but I know which way to go. Thanks!
