Added identity info for host connections
This commit is contained in:
parent
df3a9387ed
commit
1f8b7ef026
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class People(SABase):
|
||||||
del props['postal_address']
|
del props['postal_address']
|
||||||
del props['telephone']
|
del props['telephone']
|
||||||
del props['facsimile']
|
del props['facsimile']
|
||||||
elif not identity.current.user.username == self.username:
|
elif not identity.current.user.username == self.username and 'fas-system' not in identity.current.groups::
|
||||||
# Only an admin or the user themselves can see these fields
|
# Only an admin or the user themselves can see these fields
|
||||||
del props['password']
|
del props['password']
|
||||||
del props['passwordtoken']
|
del props['passwordtoken']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue