Author: Daniël Franke <df@ponc.tech>
Date:   Thu Jan 12 09:42:05 2023 +0100

    Test CreateUser (#5382)

    This tests the CreateUser functions.

    Fixes #5375
This commit is contained in:
Daniël Franke committed 2023-01-12 08:46:02 +00:00
1 parent e30edfa0b9
commit ef5afadc4f
1 file changed
+22 -22
+22 -22
View File
@@ -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=idp,ou=sysusers,o=libregraph-idm ++
++uid=reva,ou=sysusers,o=libregraph-idm ++
a| [subs=-attributes]
LDAP DN to use for simple bind authentication with the target LDAP server.
@@ -282,7 +282,7 @@ a| [subs=-attributes]
++ldaps://localhost:9235 ++
a| [subs=-attributes]
Url of the LDAP service to use as IDP.
URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'
a| `LDAP_USER_BASE_DN`
@@ -336,7 +336,7 @@ a| [subs=-attributes]
++inetOrgPerson ++
a| [subs=-attributes]
LDAP User ObjectClass like 'inetOrgPerson'.
The object class to use for users in the default user search filter like 'inetOrgPerson'.
a| `LDAP_USER_SCHEMA_DISPLAYNAME`
@@ -367,10 +367,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++uid ++
++ownclouduuid ++
a| [subs=-attributes]
LDAP User uuid attribute like 'uid'.
LDAP Attribute to use as the unique id for users. This should be a stable globally unique id like a UUID.
a| `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`
@@ -404,7 +404,7 @@ a| [subs=-attributes]
++mail ++
a| [subs=-attributes]
LDAP User email attribute like 'mail'.
LDAP Attribute to use for the email address of users.
a| `LDAP_USER_SCHEMA_USERNAME`
@@ -419,10 +419,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++displayName ++
++uid ++
a| [subs=-attributes]
LDAP User name attribute like 'displayName'.
LDAP Attribute to use for username of users.
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 scopes are 'base', 'one' and 'sub'.
LDAP search scope to use when looking up users. Supported values are 'base', 'one' and 'sub'.
a| `OCIS_ADMIN_USER_ID`
@@ -466,13 +466,13 @@ a| [subs=attributes+]
* xref:{s-path}/storage-users.adoc[storage-users] +
a| [subs=-attributes]
++string ++
++[]string ++
a| [subs=-attributes]
++ ++
++[] ++
a| [subs=-attributes]
A comma-separated list of addresses to connect to. Only valid if the above setting is set to "etcd"
Node addresses to use for the cache store.
a| `OCIS_CACHE_STORE_SIZE`
@@ -501,10 +501,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
++memory ++
a| [subs=-attributes]
The type of the cache store. Valid options are "noop", "ocmem", "etcd" and "memory"
Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd".
a| `OCIS_CORS_ALLOW_CREDENTIALS`
@@ -535,7 +535,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[Origin Accept Content-Type Depth Authorization Ocs-Apirequest If-None-Match If-Match Destination Overwrite X-Request-Id X-Requested-With Tus-Resumable Tus-Checksum-Algorithm Upload-Concat Upload-Length Upload-Metadata Upload-Defer-Length Upload-Expires Upload-Checksum Upload-Offset X-HTTP-Method-Override] ++
++[Authorization Origin Content-Type Accept X-Requested-With] ++
a| [subs=-attributes]
A comma-separated list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers.
@@ -552,7 +552,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[OPTIONS HEAD GET PUT POST DELETE MKCOL PROPFIND PROPPATCH MOVE COPY REPORT SEARCH] ++
++[GET POST PUT PATCH DELETE OPTIONS] ++
a| [subs=-attributes]
A comma-separated list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method
@@ -853,7 +853,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Whether to verify the server TLS certificates.
Allow insecure connections to the OIDC issuer.
a| `OCIS_JWT_SECRET`
@@ -1078,7 +1078,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
Machine auth API key used to validate internal requests necessary for the access to resources from other services.
Machine auth API key used to validate internal requests necessary to access resources from other services.
a| `OCIS_OIDC_ISSUER`
@@ -1099,7 +1099,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++
a| [subs=-attributes]
URL of the OIDC issuer. It defaults to URL of the builtin IDP.
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.
a| `OCIS_SYSTEM_USER_API_KEY`
@@ -1341,7 +1341,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++
a| [subs=-attributes]
URL to load themes from. Will be prepended to the theme path.
The public facing URL of the oCIS frontend.
a| `REVA_GATEWAY`
@@ -1392,7 +1392,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
Transfer secret for signing file up- and download requests.
The storage transfer secret.
a| `STORAGE_USERS_OCIS_ASYNC_UPLOADS`