summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-06-23 13:37:33 +0200
committerMartin Kosek <mkosek@redhat.com>2014-06-23 17:41:49 +0200
commit61eeea9e69483d5afbdefebcf068dac06749313f (patch)
treecd641d56927b237cf54f995f089bf9f783d50b08 /ipalib
parentef5309d3764390e0364db2e21568f525a18babb5 (diff)
downloadfreeipa-61eeea9e69483d5afbdefebcf068dac06749313f.tar.gz
freeipa-61eeea9e69483d5afbdefebcf068dac06749313f.tar.xz
freeipa-61eeea9e69483d5afbdefebcf068dac06749313f.zip
netgroup: Add objectclass attribute to read permissions
The entries were unreadable without this. Additional fix for: https://fedorahosted.org/freeipa/ticket/3566 Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/netgroup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index 8603f4cea..06fbc20f9 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -115,7 +115,7 @@ class netgroup(LDAPObject):
'ipapermright': {'read', 'search', 'compare'},
'ipapermdefaultattr': {
'cn', 'description', 'hostcategory', 'ipaenabledflag',
- 'ipauniqueid', 'nisdomainname', 'usercategory'
+ 'ipauniqueid', 'nisdomainname', 'usercategory', 'objectclass',
},
},
'System: Read Netgroup Membership': {
@@ -124,7 +124,7 @@ class netgroup(LDAPObject):
'ipapermright': {'read', 'search', 'compare'},
'ipapermdefaultattr': {
'externalhost', 'member', 'memberof', 'memberuser',
- 'memberhost',
+ 'memberhost', 'objectclass',
},
},
}