# Hide/Show Flows

**URL:** <https://discourse.nodered.org/t/hide-show-flows/15143>\
**Category:** Dashboard\
**Created:** [5 September 2019 09:46 UTC](https://discourse.nodered.org/t/hide-show-flows/15143 "2019-09-05T09:46:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rwiest](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rwiest/32/11017_2.png) [@rwiest](https://discourse.nodered.org/u/rwiest)\
**Post date:** [5 September 2019 09:46 UTC](https://discourse.nodered.org/t/hide-show-flows/15143/1 "2019-09-05T09:46:41Z")

</div>

Hi, I'm using dashboard-login to control user access to my dash. I defined two user groups and am controlling as follows. However, if I login to the system with the admin user, for example, even putting hide in a specific flow, this same flow is displayed to the admin group user.

> if (userGroup === "admin") {  
> /\* ui-control payload _/  
> msg.payload = {  
> group: {  
> show : [  
> ],  
> hide : [  
> "Home\_Status\_Linha\_1"  
> ]  
> }  
> };  
> } else {  
> /_ ui-control payload \*/  
> msg.payload = {  
> group: {  
> show : [  
> "Linha\_1"  
> ],  
> hide : [  
> "Home\_Status\_Linha\_1",  
> "Home\_Sistema\_Login"  
> ]  
> }  
> };  
> }

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [5 September 2019 09:55 UTC](https://discourse.nodered.org/t/hide-show-flows/15143/2 "2019-09-05T09:55:57Z")

</div>

What is `dashboard-login` ? It isn't a core part of node-red-dashboard and I don't see any reference to that in the flow library.

Your question may need to be directed to its author.
