From da77f6b773b5934dbc406a2ae47f5195ab2f31df Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Fri, 17 Feb 2023 03:54:28 +0000 Subject: [PATCH] commit 3e3d3f9de2919368f5849061e9c3ea6894c6457c Author: Viktor Scharf Date: Thu Feb 16 16:34:13 2023 +0100 [test-only] ApiTest. get users of members of several groups (#5575) * get users with group filter * fix test --- helpers/extended_vars.yaml | 4 +- .../_includes/adoc/global_configvars.adoc | 52 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/helpers/extended_vars.yaml b/helpers/extended_vars.yaml index a6728235dc1..2f7b8583510 100644 --- a/helpers/extended_vars.yaml +++ b/helpers/extended_vars.yaml @@ -33,7 +33,7 @@ variables: description: "" do_ignore: true - rawname: MICRO_LOG_LEVEL - path: ocis-pkg/log/log.go:31 + path: ocis-pkg/log/log.go:35 foundincode: true name: MICRO_LOG_LEVEL type: "" @@ -41,7 +41,7 @@ variables: description: "" do_ignore: false - rawname: MICRO_LOG_LEVEL - path: ocis-pkg/log/log.go:35 + path: ocis-pkg/log/log.go:31 foundincode: true name: MICRO_LOG_LEVEL type: "" diff --git a/services/_includes/adoc/global_configvars.adoc b/services/_includes/adoc/global_configvars.adoc index fd93e66071e..99c7c7a8da2 100644 --- a/services/_includes/adoc/global_configvars.adoc +++ b/services/_includes/adoc/global_configvars.adoc @@ -26,7 +26,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -The default role assignments the demo users should be setup. +Flag to enable or disable the creation of the demo users. a| `LDAP_BIND_DN` @@ -41,7 +41,7 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++uid=reva,ou=sysusers,o=libregraph-idm ++ +++uid=idp,ou=sysusers,o=libregraph-idm ++ a| [subs=-attributes] LDAP DN to use for simple bind authentication with the target LDAP server. @@ -80,7 +80,7 @@ a| [subs=-attributes] ++~/.ocis/idm/ldap.crt ++ a| [subs=-attributes] -Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not definied, the root directory derives from $OCIS_BASE_DATA_PATH:/idm. +Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not definied, the root directory derives from $OCIS_BASE_DATA_PATH:/idp. a| `LDAP_GROUP_BASE_DN` @@ -131,7 +131,7 @@ a| [subs=-attributes] ++groupOfNames ++ a| [subs=-attributes] -The object class to use for groups in the default group search filter like 'groupOfNames'. +The object class to use for groups in the default group search filter ('groupOfNames'). a| `LDAP_GROUP_SCHEMA_DISPLAYNAME` @@ -181,7 +181,7 @@ a| [subs=-attributes] ++ownclouduuid ++ a| [subs=-attributes] -LDAP Attribute to use as the unique ID for groups. This should be a stable globally unique ID like a UUID. +LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID. a| `LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING` @@ -246,7 +246,7 @@ a| [subs=-attributes] ++sub ++ a| [subs=-attributes] -LDAP search scope to use when looking up groups. Supported values are 'base', 'one' and 'sub'. +LDAP search scope to use when looking up groups. Supported scopes are 'base', 'one' and 'sub'. a| `LDAP_INSECURE` @@ -282,7 +282,7 @@ a| [subs=-attributes] ++ldaps://localhost:9235 ++ a| [subs=-attributes] -URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://' +Url of the LDAP service to use as IDP. a| `LDAP_USER_BASE_DN` @@ -336,7 +336,7 @@ a| [subs=-attributes] ++inetOrgPerson ++ a| [subs=-attributes] -The object class to use for users in the default user search filter like 'inetOrgPerson'. +LDAP User ObjectClass like 'inetOrgPerson'. a| `LDAP_USER_SCHEMA_DISPLAYNAME` @@ -367,10 +367,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++ownclouduuid ++ +++uid ++ a| [subs=-attributes] -LDAP Attribute to use as the unique id for users. This should be a stable globally unique id like a UUID. +LDAP User uuid attribute like 'uid'. a| `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` @@ -386,7 +386,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Set this to true if the defined 'id' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user ID's. +Set this to true if the defined 'id' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user id's. a| `LDAP_USER_SCHEMA_MAIL` @@ -404,7 +404,7 @@ a| [subs=-attributes] ++mail ++ a| [subs=-attributes] -LDAP Attribute to use for the email address of users. +LDAP User email attribute like 'mail'. a| `LDAP_USER_SCHEMA_USERNAME` @@ -419,10 +419,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++uid ++ +++displayName ++ a| [subs=-attributes] -LDAP Attribute to use for username of users. +LDAP User name attribute like 'displayName'. a| `LDAP_USER_SCOPE` @@ -440,7 +440,7 @@ a| [subs=-attributes] ++sub ++ a| [subs=-attributes] -LDAP search scope to use when looking up users. Supported values are 'base', 'one' and 'sub'. +LDAP search scope to use when looking up users. Supported scopes are 'base', 'one' and 'sub'. a| `OCIS_ADMIN_USER_ID` @@ -456,7 +456,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -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. +ID of the user who collects all necessary information for deletion. a| `OCIS_CACHE_STORE_ADDRESS` @@ -467,13 +467,13 @@ a| [subs=attributes+] * xref:{s-path}/storage-users.adoc[storage-users] + a| [subs=-attributes] -++[]string ++ +++string ++ a| [subs=-attributes] -++[] ++ +++ ++ a| [subs=-attributes] -Node addresses to use for the cache store. +A comma-separated list of addresses to connect to. Only valid if the above setting is set to "etcd" a| `OCIS_CACHE_STORE_SIZE` @@ -502,10 +502,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++memory ++ +++ ++ a| [subs=-attributes] -Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd". +The type of the cache store. Valid options are "noop", "ocmem", "etcd" and "memory" a| `OCIS_CORS_ALLOW_CREDENTIALS` @@ -598,7 +598,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.. +Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services. a| `OCIS_GRPC_CLIENT_TLS_CACERT` @@ -857,7 +857,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Whether the NATS server should skip the client certificate verification during the TLS handshake. +Allow insecure connections to the GATEWAY service. a| `OCIS_JWT_SECRET` @@ -1107,7 +1107,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -URL of the OIDC issuer. It defaults to URL of the builtin IDP. +The OIDC issuer URL to use. 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. +The OIDC issuer URL to use. a| `REVA_GATEWAY` @@ -1404,7 +1404,7 @@ a| [subs=-attributes] ++ ++ a| [subs=-attributes] -The storage transfer secret. +Transfer secret for signing file up- and download requests. a| `STORAGE_USERS_OCIS_ASYNC_UPLOADS`