{"id":20118508,"url":"https://github.com/flowfuse/node-red-dashboard-2-user-addon","last_synced_at":"2026-06-13T09:02:57.793Z","repository":{"id":245269148,"uuid":"715989985","full_name":"FlowFuse/node-red-dashboard-2-user-addon","owner":"FlowFuse","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-21T08:19:34.000Z","size":61,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-21T10:31:08.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlowFuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-08T08:49:01.000Z","updated_at":"2026-04-21T08:19:30.000Z","dependencies_parsed_at":"2024-06-21T02:45:41.237Z","dependency_job_id":"2b887691-2f97-40d8-9f48-1f6763471d1c","html_url":"https://github.com/FlowFuse/node-red-dashboard-2-user-addon","commit_stats":null,"previous_names":["flowfuse/node-red-dashboard-2-user-addon","flowfuse/node-red-dashboard-ff-auth"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/FlowFuse/node-red-dashboard-2-user-addon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlowFuse%2Fnode-red-dashboard-2-user-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlowFuse%2Fnode-red-dashboard-2-user-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlowFuse%2Fnode-red-dashboard-2-user-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlowFuse%2Fnode-red-dashboard-2-user-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlowFuse","download_url":"https://codeload.github.com/FlowFuse/node-red-dashboard-2-user-addon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlowFuse%2Fnode-red-dashboard-2-user-addon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34278154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T19:11:19.119Z","updated_at":"2026-06-13T09:02:57.774Z","avatar_url":"https://github.com/FlowFuse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlowFuse Multiuser (Node-RED Dashboard 2.0 Plugin)\n\nThis repository contains a Node-RED Dashboard 2.0 plugin that enhances events emitted from Dashboard with user data. This plugin is designed to be used with FlowFuse, and utilises the `req.session.user` object that is made available by the FlowFuse `nr-launcher` project.\n\n## Checking Installation\n\nDashboard 2.0 will list the FlowFuse plugin in the \"Client Data\" tab of the Dashboard Sidebar. If you do not see the plugin listed there, then the plugin is not installed correctly, and the `msg._client.user` object will not be available to you.\n\n## Showing User Info\n\nIf you'd like to show information about the currently logged in user, you can use the following code inside a template node:\n\n```vue\n\u003ctemplate\u003e\n    \u003cTeleport v-if=\"loaded\" to=\"#app-bar-actions\"\u003e\n        \u003cdiv class=\"user-info\"\u003e\n            \u003cimg :src=\"setup.socketio.auth.user.image\" /\u003e\n            \u003cspan\u003eHi, {{ setup.socketio.auth.user.name }}!\u003c/span\u003e\n    \u003c/Teleport\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nexport default {\n    data () {\n        return {\n            loaded: false\n        }\n    },\n    mounted() {\n        // code here when the component is first loaded\n        console.log('on mounted')\n        console.log(this.$store.state.setup?.setup?.socketio?.auth.user)\n        this.loaded = true\n    }\n}\n\u003c/script\u003e\n\n\u003cstyle\u003e\n    .user-info {\n        display: flex; align-items: center; gap: 8px;\n    }\n\n    .user-info img {\n        width:24px; height: 24px;\n    }\n\u003c/style\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowfuse%2Fnode-red-dashboard-2-user-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowfuse%2Fnode-red-dashboard-2-user-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowfuse%2Fnode-red-dashboard-2-user-addon/lists"}