[
https://issues.apache.org/jira/browse/ARTEMIS-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Domenico Francesco Bruscino updated ARTEMIS-5894:
-------------------------------------------------
Description:
When utilizing ArtemisRbacMBeanServerBuilder for Role-Based Access Control
(RBAC) on management operations, the web console fails to hide menu items for
unauthorized actions.
For instance, a user without the amq role can still see the "Delete Address"
menu item, even when the following security configuration is applied to
restrict access:
{code:java}
<security-setting match="mops.broker.deleteAddress">
<permission type="edit" roles="amq"/>
</security-setting>
{code}
The web console should dynamically filter the user interface. If a user lacks
the required permission for a specific management operation (e.g.,
deleteAddress), the corresponding menu item should be hidden from their view.
Environment: (was: When utilizing ArtemisRbacMBeanServerBuilder for
Role-Based Access Control (RBAC) on management operations, the web console
fails to hide menu items for unauthorized actions.
For instance, a user without the amq role can still see the "Delete Address"
menu item, even when the following security configuration is applied to
restrict access:
{code:java}
<security-setting match="mops.broker.deleteAddress">
<permission type="edit" roles="amq"/>
</security-setting>
{code}
The web console should dynamically filter the user interface. If a user lacks
the required permission for a specific management operation (e.g.,
deleteAddress), the corresponding menu item should be hidden from their view.)
> The web console shows menu items for unauthorized operations
> ------------------------------------------------------------
>
> Key: ARTEMIS-5894
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5894
> Project: Artemis
> Issue Type: Bug
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.52.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When utilizing ArtemisRbacMBeanServerBuilder for Role-Based Access Control
> (RBAC) on management operations, the web console fails to hide menu items for
> unauthorized actions.
> For instance, a user without the amq role can still see the "Delete Address"
> menu item, even when the following security configuration is applied to
> restrict access:
> {code:java}
> <security-setting match="mops.broker.deleteAddress">
> <permission type="edit" roles="amq"/>
> </security-setting>
> {code}
> The web console should dynamically filter the user interface. If a user lacks
> the required permission for a specific management operation (e.g.,
> deleteAddress), the corresponding menu item should be hidden from their view.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]