add missing description property for oidc principal
This commit is contained in:
parent
6e495a004c
commit
2b69416c44
1 changed files with 4 additions and 0 deletions
|
|
@ -78,6 +78,10 @@ class Principal:
|
||||||
def title(self):
|
def title(self):
|
||||||
return self.data['name']
|
return self.data['name']
|
||||||
|
|
||||||
|
@property
|
||||||
|
def description(self):
|
||||||
|
return self.data['name']
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def groups(self):
|
def groups(self):
|
||||||
return self.data.get('groups', [])
|
return self.data.get('groups', [])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue