Пример #1
0
 def patch_group(self, context, group_id, **kwargs):
     scim = self._denormalize(kwargs, context['path'])
     group = conv.group_scim2key(scim, context['path'])
     ref = super(ScimGroupV3Controller,
                 self).update_group(context, group_id=group_id, group=group)
     return conv.group_key2scim(ref.get('group', None),
                                path=context['path'])
Пример #2
0
 def patch_group(self, context, group_id, **kwargs):
     scim = self._denormalize(kwargs, context["path"])
     group = conv.group_scim2key(scim, context["path"])
     ref = super(ScimGroupV3Controller, self).update_group(context, group_id=group_id, group=group)
     return conv.group_key2scim(ref.get("group", None), path=context["path"])
Пример #3
0
 def get_group(self, context, group_id):
     ref = super(ScimGroupV3Controller, self).get_group(context, group_id=group_id)
     return conv.group_key2scim(ref["group"], path=context["path"])
Пример #4
0
 def get_group(self, context, group_id):
     ref = super(ScimGroupV3Controller, self).get_group(context,
                                                        group_id=group_id)
     return conv.group_key2scim(ref['group'], path=context['path'])
Пример #5
0
 def create_group(self, context, **kwargs):
     scim = self._denormalize(kwargs, context['path'])
     group = conv.group_scim2key(scim, path=context['path'])
     ref = super(ScimGroupV3Controller, self).create_group(
         context, group=group)
     return conv.group_key2scim(ref.get('group', None), path=context['path'])
 def get_group(self, context, group_id):
     ref = super(ScimGroupV3Controller, self).get_group(
         context, group_id=group_id)
     return conv.group_key2scim(ref['group'])
 def create_group(self, context, **kwargs):
     scim = self._denormalize(kwargs)
     group = conv.group_scim2key(scim)
     ref = super(ScimGroupV3Controller, self).create_group(context,
                                                           group=group)
     return conv.group_key2scim(ref.get('group', None))