mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
test_xmlrpc: Update tests
- The number of permissions in $SUFFIX changed. - A new ACI was added to realmdomains Update the tests. Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
2afcbff133
commit
cd4fd60c0e
@ -2851,9 +2851,9 @@ class test_permission_legacy(Declarative):
|
||||
command=('permission_find', [],
|
||||
{'ipapermlocation': api.env.basedn}),
|
||||
expected=dict(
|
||||
count=15,
|
||||
count=16,
|
||||
truncated=False,
|
||||
summary=u'15 permissions matched',
|
||||
summary=u'16 permissions matched',
|
||||
result=lambda s: True,
|
||||
),
|
||||
),
|
||||
|
@ -71,7 +71,17 @@ class test_realmdomains(Declarative):
|
||||
u'(version 3.0;acl '
|
||||
u'"permission:System: Read Realm Domains";'
|
||||
u'allow (compare,read,search) '
|
||||
u'userdn = "ldap:///all";)'
|
||||
u'userdn = "ldap:///all";)',
|
||||
|
||||
u'(targetattr = "associateddomain")'
|
||||
u'(targetfilter = "(objectclass=domainrelatedobject)")'
|
||||
u'(version 3.0;acl '
|
||||
u'"permission:System: Modify Realm Domains";'
|
||||
u'allow (write) groupdn = "ldap:///%s";)' %
|
||||
DN('cn=System: Modify Realm Domains',
|
||||
api.env.container_permission,
|
||||
api.env.basedn),
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user