Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D8D5D200D0B for ; Wed, 27 Sep 2017 15:12:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D72C31609BC; Wed, 27 Sep 2017 13:12:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2A9171609CA for ; Wed, 27 Sep 2017 15:12:54 +0200 (CEST) Received: (qmail 16131 invoked by uid 500); 27 Sep 2017 13:12:53 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 16122 invoked by uid 99); 27 Sep 2017 13:12:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 13:12:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A1619F5B28; Wed, 27 Sep 2017 13:12:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kwall@apache.org To: commits@qpid.apache.org Date: Wed, 27 Sep 2017 13:12:53 -0000 Message-Id: In-Reply-To: <53fb566e5282497a840ba48024622e69@git.apache.org> References: <53fb566e5282497a840ba48024622e69@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/4] qpid-broker-j git commit: QPID-7923: [Java Broker] [ACL] Mark Queue#getConsumers and getPublishingLink as not requiring an ACL check. archived-at: Wed, 27 Sep 2017 13:12:55 -0000 QPID-7923: [Java Broker] [ACL] Mark Queue#getConsumers and getPublishingLink as not requiring an ACL check. Queue#getConsumers returns information that was available without an explict ACL permission in previous release. This change avoids breaking compatibility with existing rule-sets. Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/0dad8495 Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/0dad8495 Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/0dad8495 Branch: refs/heads/master Commit: 0dad8495a2960c38251b2a393e52922696abd8e4 Parents: 9c44860 Author: Keith Wall Authored: Wed Sep 27 11:41:26 2017 +0100 Committer: Keith Wall Committed: Wed Sep 27 11:42:43 2017 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/qpid/server/model/Queue.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/0dad8495/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java ---------------------------------------------------------------------- diff --git a/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java b/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java index e146466..855603e 100644 --- a/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java +++ b/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java @@ -309,12 +309,12 @@ public interface Queue> extends ConfiguredObject, mandatory = true) OverflowPolicy getOverflowPolicy(); - @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false) + @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false, skipAclCheck = true) Collection getPublishingLinks(); @Override - @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false) + @ManagedOperation(nonModifying = true, changesConfiguredObjectState = false, skipAclCheck = true) Collection> getConsumers(); //operations --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org