Can someone explain me exactly what is “user role” and what it means? I know that when we add a user in the Karaf console, we can add them with a role. This role can be used for example as explained in the openHAB documentation Building Pages - Components & Widgets | openHAB to know which user can see the widget and the component and this post Is openhab 3 multiuser? - #25 by tarag also explains how to add multiple roles for a user by modifying the userdata/jsondb/users.json file.
I am using openHABian, so my questions are: can someone explain to me what a user role means and in which application it can be used (for the visibility/access of the different page, homepage, sitemap, widget, …)? If possible, please give me some examples. And where can I find the file userdata/jsondb/users.json?
These answers will help me a lot because I am trying to improve the access control of the different users of openHAB.
Thanks in advance.