summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-03-17 15:53:06 +0100
committerMartin Kosek <mkosek@redhat.com>2014-03-24 15:44:23 +0100
commit3dcad00b946e72733cccf279ec00b426d902c867 (patch)
tree8b07e2ade1d7377100696ea4a0d8455f03e1b844 /ipatests
parent7872b92050fbbed7d20873a8c354467a86afb63f (diff)
downloadfreeipa-3dcad00b946e72733cccf279ec00b426d902c867.tar.gz
freeipa-3dcad00b946e72733cccf279ec00b426d902c867.tar.xz
freeipa-3dcad00b946e72733cccf279ec00b426d902c867.zip
permission plugin: Do not add the ipapermissionv2 for output
As with the flags, the objectclass should be returned as it is on the entry. https://fedorahosted.org/freeipa/ticket/4257 Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_xmlrpc/test_old_permission_plugin.py2
-rw-r--r--ipatests/test_xmlrpc/test_permission_plugin.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_xmlrpc/test_old_permission_plugin.py b/ipatests/test_xmlrpc/test_old_permission_plugin.py
index c4fa982c8..67c0a1c3f 100644
--- a/ipatests/test_xmlrpc/test_old_permission_plugin.py
+++ b/ipatests/test_xmlrpc/test_old_permission_plugin.py
@@ -806,7 +806,7 @@ class test_old_permission(Declarative):
'dn': DN(('cn','Add user to default group'),
api.env.container_permission, api.env.basedn),
'cn': [u'Add user to default group'],
- 'objectclass': objectclasses.permission,
+ 'objectclass': objectclasses.system_permission,
'member_privilege': [u'User Administrators'],
'attrs': [u'member'],
'targetgroup': u'ipausers',
diff --git a/ipatests/test_xmlrpc/test_permission_plugin.py b/ipatests/test_xmlrpc/test_permission_plugin.py
index 678f9f918..251305e80 100644
--- a/ipatests/test_xmlrpc/test_permission_plugin.py
+++ b/ipatests/test_xmlrpc/test_permission_plugin.py
@@ -1163,7 +1163,7 @@ class test_permission(Declarative):
'dn': DN(('cn','Add user to default group'),
api.env.container_permission, api.env.basedn),
'cn': [u'Add user to default group'],
- 'objectclass': objectclasses.permission,
+ 'objectclass': objectclasses.system_permission,
'member_privilege': [u'User Administrators'],
'attrs': [u'member'],
'targetgroup': [u'ipausers'],