title: Artemis AMQ119213: User: '' does not have permission='CONSUME'
body: <p>I need to create an user who is just used to create queues from CI/CD tool. </p>
  
  <pre><code>&lt;permission type="createDurableQueue" roles="amq, opadmin"/&gt;
          &lt;permission type="deleteDurableQueue" roles="amq"/&gt;
          &lt;permission type="createAddress" roles="amq, opadmin"/&gt;
          &lt;permission type="deleteAddress" roles="amq, opadmin"/&gt;
          &lt;permission type="consume" roles="amq, developer"/&gt;
  </code></pre>
  
  <p><strong>i am getting below error</strong> </p>
  
  <blockquote>
    <p>[amq-broker@x01sipscnaq1a bin]$ ./artemis queue create
    --auto-create-address --durable --user opadmin --password xxxxxxxx --anycast --preserve-on-no-consumers --url tcp://10.91.xxx.xxx:61716 Exception in thread "main"
    ActiveMQSecurityException[errorType=SECURITY_EXCEPTION
    message=AMQ119213: User: opadmin does not have permission='CONSUME'
    for queue activemq.management.383ccac9-0084-4c44-8f23-7f5c44f7b0dc on
    address
    activemq.management.383ccac9-0084-4c44-8f23-7f5c44f7b0dc.activemq.management.383ccac9-0084-4c44-8f23-7f5c44f7b0dc]</p>
  </blockquote>
  
  <p><strong>So changed to</strong> </p>
  
  <pre><code>&lt;permission type="createDurableQueue" roles="amq, opadmin"/&gt;
          &lt;permission type="deleteDurableQueue" roles="amq"/&gt;
          &lt;permission type="createAddress" roles="amq, opadmin"/&gt;
          &lt;permission type="deleteAddress" roles="amq, opadmin"/&gt;
          &lt;permission type="consume" roles="amq, developer, opadmin"/&gt;
  </code></pre>
  
  <p><strong>It goes in with no error, but hangs (waited for more than 30 minutes)</strong></p>
  
  <blockquote>
    <p>[amq-broker@x01sipscnaq1a bin]$ ./artemis queue create --silent
    --auto-create-address --durable --user opadmin --password xxxxxx --anycast --name TestTorture --preserve-on-no-consumers --url tcp://10.91.xxx.xxx:61716 --verbose Executing
    org.apache.activemq.artemis.cli.commands.queue.CreateQueue queue
    create --silent --auto-create-address --durable --user opadmin
    --password xxxxxx --anycast --name TestTorture --preserve-on-no-consumers --url tcp://10.91.xxx.xxx:61716 --verbose Home::/opt/redhat/amq-broker-7.1.0-hf8,
    Instance::/opt/redhat/amq-config/cn_soi/broker2b
    ^C[amq-broker@x01sipscnaq1a bin]$</p>
  </blockquote>