[ 
https://issues.apache.org/jira/browse/ARTEMIS-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041085#comment-18041085
 ] 

Grzegorz Grzybek commented on ARTEMIS-5776:
-------------------------------------------

[~gasperc] I have Artemis 2.45.0-SNAPSHOT running with default 
{{etc/management.xml}}:
{code:xml}
<management-context xmlns="http://activemq.apache.org/schema";>
   <!--<connector connector-port="1099"/>-->
   <authorisation>
      <allowlist>
         <entry domain="hawtio"/>
      </allowlist>
      <default-access>
         <!--
         The "default-access" settings apply to every MBean not explicitly 
configured
         in the "allowlist" or "role-access" sections
         -->

         <!-- allow read-only access by default -->
         <access method="list*" roles="amq"/>
         <access method="get*" roles="amq"/>
         <access method="is*" roles="amq"/>

         <!-- don't allow write or other operations by default -->
         <!--access method="set*" roles="amq"/-->
         <!--access method="*" roles="amq"/-->
      </default-access>
      <role-access>
         <match domain="org.apache.activemq.artemis">
            <access method="list*" roles="amq"/>
            <access method="get*" roles="amq"/>
            <access method="is*" roles="amq"/>
            <access method="set*" roles="amq"/>
            <!-- Note count and browse are need to access the browse tab in the 
console -->
            <access method="browse*" roles="amq"/>
            <access method="count*" roles="amq"/>
            <access method="*" roles="amq"/>
         </match>
         <!--example of how to configure a specific object -->
         <!--
         <match domain="org.apache.activemq.artemis" key="subcomponent=queues">
            <access method="list*" roles="view,update,amq"/>
            <access method="get*" roles="view,update,amq"/>
            <access method="is*" roles="view,update,amq"/>
            <access method="set*" roles="update,amq"/>
            <access method="*" roles="amq"/>
         </match>
         -->
      </role-access>
   </authorisation>
</management-context>    
{code}

Then I have {{main}} branch of 
https://github.com/apache/activemq-artemis-console/ with {{mvn clean install}}, 
then:
{noformat}
$ cd artemis-console-extension/artemis-extension/app/

$ yarn start
[hawtio-backend] Logging level: INFO
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:8080/, http://[::1]:8080/
<i> [webpack-dev-server] On Your Network (IPv4): http://192.168.0.165:8080/
<i> [webpack-dev-server] Content not from webpack is served from 
'/data/sources/github.com/apache/activemq-artemis-console/artemis-console-extension/artemis-extension/app/build'
 directory
<i> [webpack-dev-server] 404s will fallback to '/console/'
<i> [webpack-dev-middleware] wait until bundle finished: /console/
[afterChunks] original chunk: main
[afterOptimizeChunks] optimized chunk: main
modules count: 8221
webpack compiled successfully
...
{noformat}

Then browse to http://localhost:8080/console/connect/remote then add a 
connection to http://localhost:8161/console/jolokia and click connect and login 
using {{admin}}/{{admin}}.
{noformat}

> Operations list for queues/addresses is missing options
> -------------------------------------------------------
>
>                 Key: ARTEMIS-5776
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5776
>             Project: Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: console-1.4.0
>            Reporter: Gašper Čefarin
>            Priority: Blocker
>             Fix For: console-1.5.0
>
>         Attachments: screenshot-1.png
>
>
> Wasn't sure how to word this one, to be honest.
> The options to "send message, purge, browse messages, delete" are missing 
> from Queues tab in the web console.
> The first 3 options (show attributes, attributes andoperations) are available 
> to anyone, so these are shown. The other options are checked for permissions 
> before being displayed.
> This bug is introduced somewhere between commits (someone please double 
> check):
>  
> {code:java}
> commit 158342512fc62979bad136a9ed6483e926ff4634
> Author: GChuf <[email protected]>
> Date:   Sun Nov 2 14:49:58 2025 +0100
>     ARTEMIS-5737 Implement getBrokerName function for ArtemisHeader
> {code}
> and
>  
> {code:java}
> commit 06b5851fdd9066474047a5b1295fc6549737300c
> Author: Justin Bertram <[email protected]>
> Date:   Mon Nov 17 23:01:14 2025 -0600
>     ARTEMIS-5771 display creation time for producer
> {code}
> [~ggrzybek] can you take a look here?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to