- removed pi role check
authorTony Mack <tmack@cs.princeton.edu>
Wed, 20 Sep 2006 14:03:08 +0000 (14:03 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 20 Sep 2006 14:03:08 +0000 (14:03 +0000)
PLC/Methods/AdmGetSitePersons.py

index 0839bc6..b9dd2f5 100644 (file)
@@ -39,8 +39,6 @@ class AdmGetSitePersons(Method):
        if 'admin' not in self.caller['roles']: 
                 if site['site_id'] not in self.caller['site_ids']:
                         raise PLCPermissionDenied, "Not allowed to update node network"
-                if 'pi' not in self.caller['roles']:
-                        raise PLCPermissionDenied, "User account not allowed to update node network"   
        person_ids = site['person_ids']
        
        return person_ids