예제 #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 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 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))