summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/permission.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/plugins/permission.py b/ipalib/plugins/permission.py
index befa74df..75b21091 100644
--- a/ipalib/plugins/permission.py
+++ b/ipalib/plugins/permission.py
@@ -393,8 +393,10 @@ class permission_mod(LDAPUpdate):
cn = options['rename'] # rename finished
- common_options = filter_options(options, ['all', 'raw'])
+ # all common options to permission-mod and show need to be listed here
+ common_options = filter_options(options, ['all', 'raw', 'rights'])
result = self.api.Command.permission_show(cn, **common_options)['result']
+
for r in result:
if not r.startswith('member_'):
entry_attrs[r] = result[r]