Added identity info for host connections

This commit is contained in:
Michael McGrath 2008-03-10 15:48:15 -05:00
parent df3a9387ed
commit 1f8b7ef026

View file

@ -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']