openhab-core
openhab-core copied to clipboard
[Auth] Editor Role for MainUI
Hi,
I have a use case that requires a different type user to have a specific role to just edit the MainUI Pages and Widgets. Is it possible? As far as i know, only administrator is allowed to do it.
Unfortunately not, there are only two roles at the moment, user and administrator. An editor role could be possible, but this would involve allowing full access to the /rest/ui/components API (on top of all user role operations), and make UI changes as well.
OK, i guess it is just creating a new role called "editor" and apply role annotation. Let me know if requirement is necessary for your case, otherwise i will make necessary changes and just commit on my own repository.