[full-ci][tests-only]Expand tests coverage related to user with different role (#5725)

* Refactor tests related to different role

* Use setResponse from When step
This commit is contained in:
Amrita committed 2023-03-21 04:20:32 +00:00
1 parent 580e7f0310
commit 782bd5139c
1 file changed
+19 -19
+19 -19
View File
@@ -109,10 +109,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++none ++
++attribute ++
a| [subs=-attributes]
An option to control the behavior for disabling users. Valid options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed.
An option to control the behavior for disabling users. Supported options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed. Default is 'attribute'.
a| `LDAP_GROUP_BASE_DN`
@@ -163,7 +163,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`
@@ -213,7 +213,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`
@@ -278,7 +278,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`
@@ -349,7 +349,7 @@ a| [subs=-attributes]
++ownCloudUserEnabled ++
a| [subs=-attributes]
LDAP attribute to use as a flag telling if the user is enabled or disabled.
LDAP Attribute to use as a flag telling if the user is enabled or disabled.
a| `LDAP_USER_FILTER`
@@ -385,7 +385,7 @@ a| [subs=-attributes]
++inetOrgPerson ++
a| [subs=-attributes]
The object class to use for users in the default user search filter like 'inetOrgPerson'.
The object class to use for users in the default user search filter ('inetOrgPerson').
a| `LDAP_USER_SCHEMA_DISPLAYNAME`
@@ -435,7 +435,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`
@@ -489,7 +489,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`
@@ -505,7 +505,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`
@@ -523,7 +523,7 @@ a| [subs=-attributes]
++[] ++
a| [subs=-attributes]
A comma separated list of addresses to access the configured store. This has no effect when the 'memory' store is configured. Note that the behaviour how addresses are used is dependent on the library of the configured store.
Node addresses to use for the cache store.
a| `OCIS_CACHE_STORE_SIZE`
@@ -556,7 +556,7 @@ a| [subs=-attributes]
++memory ++
a| [subs=-attributes]
Store implementation for the cache. Supported values are 'memory' (default), 'redis', 'redis-sentinel', 'nats-js', and 'etcd'. See the text description for details.
Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd".
a| `OCIS_CORS_ALLOW_CREDENTIALS`
@@ -610,7 +610,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[GET POST PUT PATCH DELETE OPTIONS] ++
++[GET] ++
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
@@ -832,7 +832,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Whether to verify the server TLS certificates.
Whether the NATS server should skip the client certificate verification during the TLS handshake.
a| `OCIS_JWT_SECRET`
@@ -1077,7 +1077,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`
@@ -1098,7 +1098,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 group IDs of the CS3 group objects for groups returned by this group provider.
a| `OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD`
@@ -1113,7 +1113,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares.
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares. If not using the global OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD, you must define the FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD in the frontend service.
a| `OCIS_SPACES_MAX_QUOTA`
@@ -1375,7 +1375,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++
a| [subs=-attributes]
URL to load themes from. Will be prepended to the theme path.
The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider.
a| `REVA_GATEWAY`
@@ -1427,7 +1427,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`