You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/03/23 10:13:00 UTC

[jira] [Updated] (ARTEMIS-5962) "Delete Address" menu option doesn't work with limited role

     [ https://issues.apache.org/jira/browse/ARTEMIS-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARTEMIS-5962:
------------------------------------
    Labels: pull-request-available  (was: )

> "Delete Address" menu option doesn't work with limited role
> -----------------------------------------------------------
>
>                 Key: ARTEMIS-5962
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5962
>             Project: Artemis
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Vilius Šumskas
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If a user role doesn't have createAddress permissions but has deleteAddress then in Artemis Console clicking on "Delete Address" menu option on the right of the address does nothing. Steps to reproduce:
>  # Login to console with amq role and create "test" address.
>  # Add a limited (mostly read access) "developer" role by changing management.xml the following way:
>       <default-access>
>          <access method="list*" roles="developer,amq"/>
>          <access method="get*" roles="developer,amq"/>
>          <access method="is*" roles="developer,amq"/>
>       </default-access>
>       <role-access>
>          <match domain="org.apache.activemq.artemis">
>             <access method="list*" roles="developer,amq"/>
>             <access method="get*" roles="developer,amq"/>
>             <access method="is*" roles="developer,amq"/>
>             <access method="set*" roles="amq"/>            <!-- Note count and browse are need to access the browse tab in the console -->            <access method="browse*" roles="developer,amq"/>
>             <access method="count*" roles="developer,amq"/>
>             <access method="deleteAddress" roles="developer,amq"/>
>             <access method="destroyQueue" roles="developer,amq"/>
>             <access method="*" roles="amq"/>
>          </match>
>       </role-access>
> 3. Add a user to "developer" role and login with it into console.
> 4. Try to delete "test" address.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org