In the dashboard UI we should verify the role to show and hide left hand side pages menus

here my dashboard arrangements of the pages

while login with the user as admin, i have to only two pages, like if i login with the guest as user,it will show guest pages. but default it is showing the map page why what is the reason how can i fix that.below i updated my flows for only switching the users between the pages

[
    {
        "id": "cde67a88e039f2ca",
        "type": "ui-control",
        "z": "44c6d68e5650c5c2",
        "g": "138ad8a6a29acecd",
        "name": "",
        "ui": "64fc71361e24a0d0",
        "events": "change",
        "x": 600,
        "y": 460,
        "wires": [
            []
        ]
    },
    {
        "id": "64fc71361e24a0d0",
        "type": "ui-base",
        "name": "",
        "path": "/dashboard",
        "appIcon": "",
        "includeClientData": true,
        "acceptsClientConfig": [
            "ui-iframe",
            "ui-control",
            "ui-template",
            "ui-gauge",
            "ui-chart",
            "ui-slider",
            "ui-form",
            "ui-text-input",
            "ui-number-input",
            "ui-file-input",
            "ui-button",
            "ui-button-group",
            "ui-dropdown",
            "ui-radio-group",
            "ui-switch",
            "ui-text",
            "ui-chart",
            "ui-form",
            "ui-number-input",
            "ui-switch",
            "ui-table",
            "ui-gauge",
            "ui-markdown",
            "ui-iframe",
            "ui-tabulator",
            "ui-radio-group",
            "ui-dropdown",
            "ui-button-group",
            "ui-file-input"
        ],
        "showPathInSidebar": false,
        "showPageTitle": false,
        "navigationStyle": "icon",
        "titleBarStyle": "fixed"
    }
]

can anyone suggest me to fix this issue

I'm working on a Node-RED flow to display different dashboard pages based on the logged-in user's role. For example:

  • When an admin logs in, they should only see pages for admin.
  • When a guest logs in, they should only see pages for guest.

Currently, I’ve configured my flows to handle user role-based page switching. However, the dashboard always defaults to the map page on login, regardless of the user's role. I suspect this happens because the dashboard defaults to the first page in the configuration.

Why does the dashboard always default to the first page in the Node-RED dashboard configuration?
How can I dynamically redirect users to their appropriate page (admin or guest) after login?

I changed the tag for your post from node-red-dashboard to dashboard-2 so that the new dashboard developers notice your post :slightly_smiling_face:

okay thanks