Commit Graph

14 Commits

Author SHA1 Message Date
Ralf Haferkamp
d9aa33525a Add support for adding multiple members to a group at once
Adding multiple members at once is done via PATCH on
`groups/{group-oid}` with a body containing a list of refernces to the
members.
2022-02-01 11:45:14 +01:00
Ralf Haferkamp
166bda9ac6 Implement removing a group member
This implements DELETE request on the
graph/v1.0/groups/{groupid}/members/{memberID}/$ref
endpoint. Allowing to remove a single member from a group.
2022-02-01 10:18:54 +01:00
Ralf Haferkamp
eb3ace8629 Implement deleting a Group
This implements DELETE request on the graph/v1.0/groups/{groupid}
endpoint. Allowing to remove an entire group.
2022-02-01 10:17:48 +01:00
Ralf Haferkamp
c0d486f3a5 Implement adding a member to a Group
This implements POST request to the graph/v1.0/groups/{groupid}/members/$ref
endpoint. Allowing to add members to a group.
2022-02-01 10:17:46 +01:00
Ralf Haferkamp
6f14ef7843 Implement reading Group Members on Graph API
This implement the graph/v1.0/groups/{groupid}/members endpoint.
Starting with the LDAP backend.
2022-02-01 10:16:08 +01:00
Ralf Haferkamp
dd7ae9cb47 Implement CreateGroup support for Graph LDAP Backend
This add basic support to create Groups in LDAP via the GraphAPI.
Currently this is hardcoded to use the standard LDAP "groupOfNames"
objectClass.
2022-02-01 09:42:20 +01:00
David Christofas
ba2ef44ea0 fix graph code smells 2022-01-28 12:41:55 +01:00
Ralf Haferkamp
840c9a7ddd Implement UpdateUser support for the GraphAPI backend 2022-01-13 16:30:09 +01:00
Ralf Haferkamp
4915195d9c Implement DeleteUser support for the Graph LDAP backend 2022-01-13 16:30:09 +01:00
Alex Unger
5d6e361cff Implement CreateUser support for the Graph LDAP backend
This adds basic support for creating users via the GraphAPI
LDAP backend. This currently just maintains the bare minimum
Attributes for the inetOrgPerson objectclass.

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2022-01-13 16:30:09 +01:00
Michael Barz
4502d4dfcc Update graph api to 0.5.0 2021-12-16 13:39:27 +01:00
Ralf Haferkamp
f253f7bc8e graph: Groups convert CS3 code to its own backend
Until the LDAP backend is ready the existing CS3 code should keep
working.

This also adds the initial stubs for the upcoming LDAP Backend.
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
76390f3d4f Rename userBackend to identityBackend
This is suppoosed to handle Groups and Users so adjust the Name
2021-11-25 14:51:52 +01:00
Ralf Haferkamp
61d65daa89 Make identity backend configurable for GraphAPI
In order to gradually switch to a new LDAP backend move
the existing code talking to CS3 into its own backend.
2021-11-25 14:30:22 +01:00