X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetNodeNetworks.py;h=558dcf3653aefdb62be9c3faf701449728ebbee4;hb=03f03eb21ef66571e98d61c0b0c56bdb861062a7;hp=1168e4916a6590568020f2d799a6f49f0be4947a;hpb=0a81a30adc589d62038848acd6bbc4bae2f5f560;p=plcapi.git diff --git a/PLC/Methods/GetNodeNetworks.py b/PLC/Methods/GetNodeNetworks.py index 1168e49..558dcf3 100644 --- a/PLC/Methods/GetNodeNetworks.py +++ b/PLC/Methods/GetNodeNetworks.py @@ -15,7 +15,7 @@ class GetNodeNetworks(Method): specified details will be returned. """ - roles = ['admin', 'pi', 'user', 'tech'] + roles = ['admin', 'pi', 'user', 'tech', 'node', 'anonymous'] accepts = [ Auth(), @@ -26,6 +26,5 @@ class GetNodeNetworks(Method): returns = [NodeNetwork.fields] - def call(self, auth, nodenetwork_filter = None, return_fields = None): return NodeNetworks(self.api, nodenetwork_filter, return_fields)