+def getAuthorities(request, admin = False):
+ result = sfa_client(request,'List',hrn='onelab',object_type='authority',platforms=['myslice'],admin=admin)
+ authorities = list()
+ for item in result['myslice']:
+ authorities.append({'authority_hrn':item['hrn']})
+ return sorted(authorities)
+
+