kjthorpe18 commented on PR #410:
URL: 
https://github.com/apache/directory-scimple/pull/410#issuecomment-1804346345

   @bdemers Here's an example pulled from a test. This is identical to Azure's 
requests (see 
https://learn.microsoft.com/en-us/entra/identity/app-provisioning/use-scim-to-provision-users-and-groups#update-group-add-members)
   ```
   Request method:      PATCH
   Request URI: 
http://localhost:62028/api/scim/v2/Groups/035a3341-5cc0-4abd-983b-d4540064afc6
   Body:
   {
       "schemas": [
           "urn:ietf:params:scim:api:messages:2.0:PatchOp"
       ],
       "Operations": [
           {
               "op": "add",
               "path": "members",
               "value": [
                   {
                       "display": "Barbara",
                       "$ref": 
"https://example.com/v2/Users/aaebb169-b91d-481c-9957-097faeaf649a";,
                       "value": "aaebb169-b91d-481c-9957-097faeaf649a"
                   }
               ]
           }
       ]
   }
   ```
   This request uses the `get(id)` method of the GroupService, where we fetch 
members of the group along with the group attributes. That result is given to 
the `update`. 
   
   So yeah, this isn't really an issue with `excludedAttributes`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to