return None
def getAuthorities(request, admin = False):
- result = sfa_client(request,'List',hrn='onelab',object_type='authority',platforms=['myslice'],admin=admin)
+ # XXX theme has to be the same as the root authority
+ result = sfa_client(request,'List',hrn=theme.theme,object_type='authority',platforms=['myslice'],admin=admin)
authorities = list()
for item in result['myslice']:
t_hrn = item['hrn'].split('.')