alizard0 commented on code in PR #4340:
URL: https://github.com/apache/activemq-artemis/pull/4340#discussion_r1173478821


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java:
##########
@@ -1178,7 +1183,7 @@ public void deleteQueue(final SimpleString queueToDelete) 
throws Exception {
          throw new ActiveMQNonExistentQueueException();
       }
 
-      server.destroyQueue(unPrefixedQueueName, this, true, false, true);
+      server.destroyQueue(unPrefixedQueueName, enforceSecurity ? this : null, 
true, false, true);

Review Comment:
   What does `null` do here? It is not very clear if you enforcing something 
that previously was enforce always. @jbertram 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to