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
Willy Kloucek
9109f8843a
always unescape url params
2021-12-06 17:04:12 +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
3a42fdc578
Move to go-chi/chi v5
2021-08-24 17:48:37 +02:00
Jörn Friedrich Dreyer
2a54b647f1
get rid of ldap and oidc, refactor error handling
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-21 08:56:04 +00:00
Jörn Friedrich Dreyer
5070941dc4
graph: refactor auth and middlewares
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-07-21 08:54:19 +00:00
Jörn Friedrich Dreyer
9fa77a27ba
fix graph and graph-explorer
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-03-15 15:17:29 +00:00
David Christofas
1088faf95d
pre allocate slices
...
Pre allocating slices with a target size reduces the number of allocations because we already know how big the slice will be and therefore need to allocate only once
2021-02-22 19:41:48 +01:00
A.Unger
f55a8092cb
adjust imports
2021-02-04 11:46:32 +01:00