This commit was manufactured by cvs2svn to create branch
[plcapi.git] / PLC / Methods / GetSites.py
index 11c2708..0d98e6b 100644 (file)
@@ -13,7 +13,7 @@ class GetSites(Method):
     specified details will be returned.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node', 'anonymous']
 
     accepts = [
         Auth(),
@@ -25,9 +25,5 @@ class GetSites(Method):
 
     returns = [Site.fields]
 
-    event_type = 'Get'
-    object_type = 'Site'
-    object_ids = []
-       
     def call(self, auth, site_filter = None, return_fields = None):
         return Sites(self.api, site_filter, return_fields)