summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-04-11 12:32:08 +0200
committerMartin Kosek <mkosek@redhat.com>2014-04-11 12:45:14 +0200
commitdb85ea32c185fee270ed900b2c60353b234454d8 (patch)
tree487c4e19005d722cc44801ae9614ea6fb1490b04
parent3db9ce320422a6cc57e1767a1e0cbf06d950a67e (diff)
downloadfreeipa-db85ea32c185fee270ed900b2c60353b234454d8.tar.gz
freeipa-db85ea32c185fee270ed900b2c60353b234454d8.tar.xz
freeipa-db85ea32c185fee270ed900b2c60353b234454d8.zip
test_realmdomains_plugin: Add default ACI to expected output
Since realmdomains is only one entry, _show with --all will return the ACI on it. Add it to expected output. Reviewed-By: Martin Kosek <mkosek@redhat.com>
-rw-r--r--ipatests/test_xmlrpc/test_realmdomains_plugin.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipatests/test_xmlrpc/test_realmdomains_plugin.py b/ipatests/test_xmlrpc/test_realmdomains_plugin.py
index 8abb53e48..1d4dda3d2 100644
--- a/ipatests/test_xmlrpc/test_realmdomains_plugin.py
+++ b/ipatests/test_xmlrpc/test_realmdomains_plugin.py
@@ -64,6 +64,15 @@ class test_realmdomains(Declarative):
associateddomain=[our_domain],
cn=[cn],
objectclass=objectclasses.realmdomains,
+ aci=[
+ u'(targetattr = "associateddomain || cn || '
+ u'objectclass")'
+ u'(targetfilter = "(objectclass=domainrelatedobject)")'
+ u'(version 3.0;acl '
+ u'"permission:System: Read Realm Domains";'
+ u'allow (read,compare,search) '
+ u'userdn = "ldap:///all";)'
+ ],
),
),
),