Changeset 413 for trunk/packages/sipb-xen-www/code/validation.py
- Timestamp:
- Apr 14, 2008, 12:44:00 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/validation.py
r411 r413 159 159 return admin 160 160 admin = 'system:' + admin 161 if getafsgroups.checkAfsGroup(user, admin, 'athena.mit.edu'): 162 return admin 163 #XXX Should we require that user is in cache_acls.expandName(admin)? 161 try: 162 if user in getafsgroups.getAfsGroupMembers(admin, 'athena.mit.edu'): 163 return admin 164 except getafsgroups.AfsProcessError, e: 165 raise InvalidInput('administrator', admin, str(e)) 166 #XXX Should we require that user is in the admin group? 164 167 return admin 165 168
Note: See TracChangeset
for help on using the changeset viewer.