From 5dea7b8eb61eb9653e02b6bbb7174808ed5128ee Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 14 Feb 2023 09:34:54 +0000 Subject: [PATCH] commit b7ec7c92c4060e14d0984d9253715eef546257ce Author: Ralf Haferkamp Date: Tue Feb 14 10:32:32 2023 +0100 graph: Initial support for $filter in /users (#5533) This adds some initial support for using $filter (as defined in the odata spec) on the /users endpoint. Currently the following filters are supported: A single filter on `id` property of the `memberOf` relation of users. To list all users that are members of a specific group: ``` curl 'https://localhost:9200/graph/v1.0/users?$filter=memberOf/any(m:m/id eq '262982c1-2362-4afa-bfdf-8cbfef64a06e') ``` A logical AND filteri on the `id` property of the `memberOf` relation of users. `$filter=memberOf/any(m:m/id eq 262982c1-2362-4afa-bfdf-8cbfef64a06e) and memberOf/any(m:m/id eq 6040aa17-9c64-4fef-9bd0-77234d71bad0)` This will cause at least two queries on the identity backend. The `and` operation is performed locally. Closes: #5487 --- services/_includes/adoc/global_configvars.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/_includes/adoc/global_configvars.adoc b/services/_includes/adoc/global_configvars.adoc index 3a5cebdf2fa..a836094c863 100644 --- a/services/_includes/adoc/global_configvars.adoc +++ b/services/_includes/adoc/global_configvars.adoc @@ -456,7 +456,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -ID of the user who collects all necessary information for deletion. +ID of the user that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand. a| `OCIS_CACHE_STORE_ADDRESS` @@ -1107,7 +1107,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider. +URL of the OIDC issuer. It defaults to URL of the builtin IDP. a| `OCIS_SYSTEM_USER_API_KEY` @@ -1354,7 +1354,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The public facing URL of the oCIS frontend. +URL of the OIDC issuer. It defaults to URL of the builtin IDP. a| `REVA_GATEWAY`