Comments (14)
I've successfully implemented basic authentication using ui-event and ui-control, allowing for single-user access where visibility of certain pages or groups depends on the login credentials. This setup is functioning well for the moment, but it has a limitation: all users see the same content. For example, when one user navigates to a different page, the change is reflected for all users.
I explored a multi-user approach utilizing socket connections and client IDs, where I stored details like username, connection timestamp, and socket ID for each connection. This method showed promise in differentiating user experiences, but I haven't had enough time to fully integrate it.
from node-red-dashboard.
I would say multi-user or multi-dashboard capability is an absolute need, also for the selfhosted users.
In which case, FlowFuse is available to support this use-case.
from node-red-dashboard.
from node-red-dashboard.
Without these features i can't find any advantage of DB 2.0 compared to the original version.
Like for example that DB 2.0 is actively maintained, does not use deprecated, and unsupported, and possibly insecure Angular 1. 😉
from node-red-dashboard.
I agree, while I do want to support flowfuse, pay walling out this feature in particular doesn't seem right.
It's so highly requested in Node-RED.
Also making it only available at $125 a month, skipping the $15 a month doesn't push Node-RED users into Flowfuse.
from node-red-dashboard.
In light of that I have a request: could we allow an auth workflow for dashboard on standard OSS Node-Red? I love using FlowFuse, don't get me wrong, but I teach at tradeshows where I don't have a reliable internet connection. I could perhaps self-host FlowFuse and run it on prem, and I'm open to that, but I'd also just love to be able to use a simple local auth flow.
@fullmetal-fred When you're teaching at the tradeshows, does that mean you're allowing access to all of your users/students to your own Dashboard?
from node-red-dashboard.
While I do want to support flowfuse, pay walling out this feature in particular doesn't seem right.
It's so highly requested in Node-RED.
@wazzaarr I'd be very interested to know more about your use case. Our current decision is based on a case that those wanting authenticated multi-user authenticated Dashboards would be a professional/industry/enterprise requirement, running with a team of users wanting access.
from node-red-dashboard.
@fullmetal-fred When you're teaching at the tradeshows, does that mean you're allowing access to all of your users/students to your own Dashboard?
@joepavitt thanks for the question! Yes, the idea is to have a "student" instance that is shared between all students which is authenticated...I use a backend to store state, credentials, etc. Each student needs to log into the dashboard, and only get data that they're supposed to get, and only get responses from the Node-RED backend that are intended for their client connection.
My alternatives at this point are to build a bespoke front end, or to use things like Appsmith to get a low-code option. I could also continue using NR and UiBuilder...but while that project is incredibly well documented, it just doesn't have the same "batteries included" feel of D2.0, and it ends up slowing me down.
from node-red-dashboard.
Node-RED has become so much more, due to your work on dashboard 2. Where it was really more applicable to IOT in the past, is now really opened up to being one of the best low-code web app development platforms. Fundamentally, multi user is a requirement of web app development.
from node-red-dashboard.
from node-red-dashboard.
I've actually started using WeWeb as the front end
Is that in-place of Dashboard 2.0, or supplementary to?
from node-red-dashboard.
I would say multi-user or multi-dashboard capability is an absolute need, also for the selfhosted users.
Without these features i can't find any advantage of DB 2.0 compared to the original version.
Kind Regards
from node-red-dashboard.
I would say multi-user or multi-dashboard capability is an absolute need, also for the selfhosted users.
In which case, FlowFuse is available to support this use-case.
We se need for Industral Control, for example you have some machine/productionline controlpanl with three levels of access:
- Normal Worker: Monitoring Machine Progress and simple controls like start/stop, tool change
- Machine Operator: Changing machine settings, error clearing
- Service: Chaning lowlevel settings, detailed error log
Same for building automation, example hotel rooms:
- Guest Accounts: Change Light, Sound Volume
- Advanced settings: like HVAC, Timers
Best Regards
from node-red-dashboard.
Thanks for the details @uschmelmer - that's exactly the kind of use cases we have in mind. If you're interested in FlowFuse as a solution here, I'm happy to put you in touch with someone that can provide more details.
from node-red-dashboard.
Related Issues (20)
- ui-table ignores 'width' setting for type 'Link'
- Features for Forms Node HOT 2
- Fix group ordering
- Fix widget ordering
- Material Design Icons Not Loaded from Cache but Fetched from Server Every Time
- Request for independence of entry and exit from MSG HOT 3
- Dash 2.0 template 'CSS (Single Page)' impacts entire site. HOT 2
- Fixed color for topics
- Combination of scatter and line diagram
- Define color of scatter datapoints based on thresholds
- Dynamic properties for button groups HOT 2
- After updating to new version 1.10.0 the dashboard page no longer opens. HOT 1
- 'widget-load' event sent multiple times to widget HOT 13
- Format of timescale axis in chart node HOT 5
- Event handlers (in custom ui nodes) not receiving widget notifications after socket reconnect HOT 2
- Sidebar - Clearer state representation
- Notification node does not send output messages anymore HOT 3
- Include Socket IP in _client data
- ui-form submit button has to be clicked twice HOT 1
- PWA-Chrome issue HOT 54
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-dashboard.