Hide/Show Flows

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"
]
}
};
}

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.