You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discussion kick-off for extending RBAC support to Keyclock authentication in addition to Kubernetes clusters.
Idea
Extend RBAC canInvoke for the Add button in the Endpoints View (disabled if canInvoke is false)
Implement keycloak support for authentication in a sample app tied into hawtio (embedded or standalone???)
Add role to keycloak specifically disabling support for Add button - something like can add new stuff to app
Tie the role to the rbac tree processor / canInvoke permissions
Further Considerations
Legacy hawtio has provision for disablling UI elements already and we should consider porting this. However, the implementation was considered fairly ad-hoc so need to look at consistent and overarching architecture for all elements.
Legacy hawtio has provision for disablling UI elements already and we should consider porting this. However, the implementation was considered fairly ad-hoc so need to look at consistent and overarching architecture for all elements.
Yes, the legacy hawtio RBAC implementation wasn't so cool, so we don't need to port everything from there. For now, the ported MBeanNode.hasInvokeRights() seems to be enough for RBAC, so let's see until we need to port more.
@phantomjinx I think it's nice to support RBAC for Keycloak, but it's something that should be done through a runtime instead of the hawtio-react side. To support RBAC with Keycloak:
Quarkus or Spring Boot (or anything else) should provide some integration with Keycloak to share the role information and a way to protect operations on JMX MBeans against the role.
hawtio-react should make sure that the RBAC information provided by the runtime is applied to the UI.
But at this moment, there's not so much thing we can do at hawtio-react. So, do you agree to close the issue?
Extracted to a new issue from #36 comment.
Discussion kick-off for extending RBAC support to Keyclock authentication in addition to Kubernetes clusters.
Idea
canInvoke
for the Add button in the Endpoints View (disabled if canInvoke is false)Further Considerations
References
Originally posted by @phantomjinx in #36 (comment)
The text was updated successfully, but these errors were encountered: