summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/selfservice.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/selfservice.py')
-rw-r--r--ipalib/plugins/selfservice.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/plugins/selfservice.py b/ipalib/plugins/selfservice.py
index bf1eccfde..9152895a5 100644
--- a/ipalib/plugins/selfservice.py
+++ b/ipalib/plugins/selfservice.py
@@ -70,7 +70,7 @@ class selfservice(Object):
bindable = False
object_name = 'selfservice',
object_name_plural = 'selfservice',
- label = _('Permissions')
+ label = _('Self Service Permissions')
takes_params = (
Str('aciname',
@@ -101,6 +101,7 @@ class selfservice(Object):
json_dict = dict(
(a, getattr(self, a)) for a in json_friendly_attributes
)
+ json_dict['primary_key'] = self.primary_key.name
json_dict['methods'] = [m for m in self.methods]
return json_dict