title: RabbitMQ queue publish access refused
body: <p>Setting permission for a user to only grant publish to a particular queue <strong>Q1</strong> </p>
  
  <p>Permission</p>
  
  <p>Configure : ""</p>
  
  <p>Write : <strong>^(Q1)|(amqp.default)$</strong></p>
  
  <p>Read : ""</p>
  
  <p>Protocol used : <strong>STOMP</strong></p>
  
  <p>RMQ version : <strong>3.6.X</strong></p>
  
  <p>Access is refused when publishing to <strong>Q1</strong> using above permissions.</p>
  
  <p>If Configure is set to <strong>^(Q1)$</strong> it works without any issues. But setting configure permission will also allow user to queue.delete and queue.declare operations on <strong>Q1</strong>.</p>
  
  <p>Case : Create a queue from the backend/RMQ management so that stomp clients can publish to it through direct amqp.default exchange and routing key as the queue name. So that client has only write permission to the queue, without configure or read permissions</p>
  
  <p>What would be the best solution for the same if a user is required only to publish to a queue but not read or configure the queue?</p>