-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MainUI] Display of thing channels no more happening #422
Comments
I think it's due to a regression/bug introduced by openhab/openhab-core#1713. |
ghys
added a commit
to ghys/openhab-core
that referenced
this issue
Oct 19, 2020
(I included these fixes in openhab#1735 but extracted them in a stanalone PR because it's easier to review and a little more urgent.) As a result of the refactoring in openhab#1713, the operations annotated with `@RolesAllowed` containing `Role.USER` are not anymore automatically considered accessible to all users, regardless of their actual roles. 4 operations are therefore now denied to admins if they only have the `Role.ADMIN` role, as the first admininistrator is created only with that role the UI encounters unexpected access denied errors and breaks. (See openhab/openhab-webui#422). Closes openhab/openhab-webui#422. Signed-off-by: Yannick Schaus <github@schaus.net>
kaikreuzer
pushed a commit
to openhab/openhab-core
that referenced
this issue
Oct 20, 2020
(I included these fixes in #1735 but extracted them in a stanalone PR because it's easier to review and a little more urgent.) As a result of the refactoring in #1713, the operations annotated with `@RolesAllowed` containing `Role.USER` are not anymore automatically considered accessible to all users, regardless of their actual roles. 4 operations are therefore now denied to admins if they only have the `Role.ADMIN` role, as the first admininistrator is created only with that role the UI encounters unexpected access denied errors and breaks. (See openhab/openhab-webui#422). Closes openhab/openhab-webui#422. Signed-off-by: Yannick Schaus <github@schaus.net>
splatch
pushed a commit
to ConnectorIO/copybara-hab-core
that referenced
this issue
Jul 11, 2023
(I included these fixes in openhab#1735 but extracted them in a stanalone PR because it's easier to review and a little more urgent.) As a result of the refactoring in openhab#1713, the operations annotated with `@RolesAllowed` containing `Role.USER` are not anymore automatically considered accessible to all users, regardless of their actual roles. 4 operations are therefore now denied to admins if they only have the `Role.ADMIN` role, as the first admininistrator is created only with that role the UI encounters unexpected access denied errors and breaks. (See openhab/openhab-webui#422). Closes openhab/openhab-webui#422. Signed-off-by: Yannick Schaus <github@schaus.net> GitOrigin-RevId: d262b6f
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After 2 hours searching what could be the error in the code I changed today, I finally discovered that even with another binding (unchanged), the main UI is now no more able to display the thing channels. There is a kind of blinking.
![image](https://user-images.githubusercontent.com/10186704/96506428-ea762c80-1257-11eb-8724-0a66b9ad38ee.png)
![image](https://user-images.githubusercontent.com/10186704/96506033-3f657300-1257-11eb-8fde-e3b80dfc7502.png)
My Eclipse resolves with this version:
Yesterday, it was working but I think the UI was from the 16th of this month.
The text was updated successfully, but these errors were encountered: