2020-10-06 09:39 PM
I plan to show the dashboard via browser to other people, I am afraid they might mess up my flows. Is it possible to add security functionality?
I was trying to comment out as per instructions here:
https://nodered.org/docs/user-guide/runtime/securing-node-red#editor--admin-api-security
but the flows will not show after I enabled
adminAuth
Solved! Go to Solution.
2023-09-27 06:43 AM
No update since a while, closing the post.
2020-10-08 12:35 AM
Hello
It seems that node-RED need to have a "default" section after the users. Else the design windows may not be displayed. Have you defined one ?
adminAuth: {
type: "credentials",
users: [ /*your list of users */ ],
default: {
permissions: "read"
}
}
Can you try ?
Best regards
Stephane
2020-10-08 03:45 PM
Thanks for the reply.
Actually, I do not want them to view my flows too.
Yes, I tried that. It is still possible to view / read only the flows.
I was trying to change the root path of the UI from
http://localhost:1880/ui
to, say something like:
http://localhost:1880/dontview
by un-commenting
httpAdminRoot: '/dontview',
I was able to view the new "url" and save the flows but the dashboard wont display the data.
BTW, the Cubemonitor will not show up and display "Error" on it title bar but using the browser, I was able to edit and save the flow.
Only the problem is when I click the dash board, data wont show up especially the line graph.
Gauge seems to display, but I cannot confirm if data is correct as I was concentrating on the line graph.
2023-09-27 06:43 AM
No update since a while, closing the post.