-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22606/
-----------------------------------------------------------

Review request for qpid, Chug Rolke and Ted Ross.


Bugs: QPID-5817
    https://issues.apache.org/jira/browse/QPID-5817


Repository: qpid


Description
-------

Examples of new ACL lines:

acl deny bob@QPID purge queue name=q7
# "purge" action previously existed but did not work

acl deny bob@QPID move queue name=q8 queuename=q7

acl deny bob@QPID redirect queue name=q8 queuename=q7
# in both cases, "name" is the source queue name, "queuename" is the 
destination queue

acl deny bob@QPID reroute queue name=q8 exchangename=amq.fanout

acl allow bob@QPID access query name=org.apache.qpid.broker:queue:q1
# to allow query of one particular object

acl allow bob@QPID access query schemaclass=exchange
# to allow whole object class to be queried - this allows _both_ querying some 
particular exchange and also whole class / all exchanges in one query


I have not tested QMFv1 authorisation of query, and also automated tests don't 
cover it. But the implementation there is straightforward.

Automated tests require QPID-5797 fixed (already committed).


Diffs
-----

  /trunk/qpid/cpp/src/qpid/broker/AclModule.h 1601656 
  /trunk/qpid/cpp/src/qpid/broker/Broker.h 1601656 
  /trunk/qpid/cpp/src/qpid/broker/Broker.cpp 1601656 
  /trunk/qpid/cpp/src/qpid/broker/Queue.cpp 1601656 
  /trunk/qpid/cpp/src/qpid/management/ManagementAgent.h 1601656 
  /trunk/qpid/cpp/src/qpid/management/ManagementAgent.cpp 1601656 
  /trunk/qpid/cpp/src/tests/acl.py 1601656 
  /trunk/qpid/cpp/src/tests/ha_tests.py 1601656 
  /trunk/qpid/doc/book/src/cpp-broker/Security.xml 1582719 

Diff: https://reviews.apache.org/r/22606/diff/


Testing
-------

All automated tests passed.

Various manual tests passed as well.


Thanks,

Pavel Moravec

Reply via email to