From c8a1d201650168b0e3f25d606a412740577a389b Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 10 Sep 2007 21:53:35 +0000 Subject: [PATCH] - update comments - remove unnecessary code --- PLC/Methods/GetSliceKeys.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/PLC/Methods/GetSliceKeys.py b/PLC/Methods/GetSliceKeys.py index 50298da..4029c83 100644 --- a/PLC/Methods/GetSliceKeys.py +++ b/PLC/Methods/GetSliceKeys.py @@ -7,18 +7,14 @@ from PLC.Sites import Site, Sites from PLC.Slices import Slice, Slices from PLC.Keys import Key, Keys - -slice_fields = ['slice_id', 'name'] -person_fields = ['person_id', 'email'] -key_fields = ['key'] - class GetSliceKeys(Method): """ - Returns an array of structs containing details about users/public keys - in slices. If slice_filter is specified and is an array of slice - identifiers or slice names, or a struct of slice attributes, only - slices matching the filter will be returned. If return_fields is - specified, only the specified details will be returned. + Returns an array of structs containing public key info for users in + the specified slices. If slice_filter is specified and is an array + of slice identifiers or slice names, or a struct of slice + attributes, only slices matching the filter will be returned. If + return_fields is specified, only the specified details will be + returned. Users may only query slices of which they are members. PIs may query any of the slices at their sites. Admins and nodes may query -- 2.43.0