diff options
author | Charles E. Rolke <chug@apache.org> | 2013-04-18 19:00:00 +0000 |
---|---|---|
committer | Charles E. Rolke <chug@apache.org> | 2013-04-18 19:00:00 +0000 |
commit | 731766b7a6b4d88c1a4d49bd3a4c655f24914db4 (patch) | |
tree | 0a34fae6f29116c2f957948cf86c693e00898838 /qpid/cpp/src/tests/ha_test.py | |
parent | eabc78640f9523be08732058581d726ef5f0e358 (diff) | |
download | qpid-python-qpid-4631.tar.gz |
QPID-4631: Lock down link creation using ACLqpid-4631
This commit makes link creation contingent on having an ACL file and then having an ACL rule approve the request. There is no longer a requirement for an explicit CREATE LINK rule; either 'allow all all' or 'deny all all' is sufficient.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-4631@1469525 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ha_test.py')
-rwxr-xr-x | qpid/cpp/src/tests/ha_test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/ha_test.py b/qpid/cpp/src/tests/ha_test.py index 5c42780f50..4e27675438 100755 --- a/qpid/cpp/src/tests/ha_test.py +++ b/qpid/cpp/src/tests/ha_test.py @@ -79,12 +79,11 @@ class HaBroker(Broker): if ha_replicate is not None: args += [ "--ha-replicate=%s"%ha_replicate ] if brokers_url: args += [ "--ha-brokers-url", brokers_url ] - # Set up default ACL file to allow all create link + # Set up default ACL acl=os.path.join(os.getcwd(), "unrestricted.acl") if not os.path.exists(acl): aclf=file(acl,"w") aclf.write(""" -acl allow all create link acl allow all all """) aclf.close() |