From 93a8f3dd1140d9e0078a756c2ddfcb034b755446 Mon Sep 17 00:00:00 2001 From: Prajwol Amatya <83579989+PrajwolAmatya@users.noreply.github.com> Date: Mon, 27 Mar 2023 04:59:01 +0000 Subject: [PATCH] test for adding users to a group using invalid JSON (#5931) --- .../_includes/adoc/global_configvars.adoc | 58 +++++++++---------- services/antivirus/_index.md | 2 +- services/audit/_index.md | 2 +- services/auth-basic/_index.md | 2 +- services/auth-bearer/_index.md | 2 +- services/eventhistory/_index.md | 2 +- services/frontend/_index.md | 2 +- services/graph/_index.md | 2 +- services/idm/_index.md | 2 +- services/idp/_index.md | 2 +- services/nats/_index.md | 2 +- services/notifications/_index.md | 2 +- services/policies/_index.md | 2 +- services/postprocessing/_index.md | 2 +- services/proxy/_index.md | 2 +- services/search/_index.md | 2 +- services/storage-system/_index.md | 2 +- services/storage-users/_index.md | 2 +- services/thumbnails/_index.md | 2 +- services/userlog/_index.md | 2 +- services/web/_index.md | 2 +- services/webdav/_index.md | 2 +- services/webfinger/_index.md | 2 +- 23 files changed, 51 insertions(+), 51 deletions(-) diff --git a/services/_includes/adoc/global_configvars.adoc b/services/_includes/adoc/global_configvars.adoc index cc80ed82301..2759f484f3d 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] -Flag to enable or disable the creation of the demo users. +The default role assignments the demo users should be setup. 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. @@ -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:/idp. +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. a| `LDAP_DISABLED_USERS_GROUP_DN` @@ -109,10 +109,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++attribute ++ +++none ++ a| [subs=-attributes] -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'. +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. a| `LDAP_GROUP_BASE_DN` @@ -314,7 +314,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` @@ -385,7 +385,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 ('inetOrgPerson'). a| `LDAP_USER_SCHEMA_DISPLAYNAME` @@ -416,10 +416,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` @@ -453,7 +453,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` @@ -468,10 +468,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_SCHEMA_USER_TYPE` @@ -536,10 +536,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++ ++ +++memory ++ a| [subs=-attributes] -The type of the cache store. Supported values are: 'memory', 'ocmem', 'etcd', 'redis', 'redis-sentinel', 'nats-js', 'noop'. See the text description for details. +Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd". a| `OCIS_CACHE_STORE_ADDRESS` @@ -555,7 +555,7 @@ a| [subs=-attributes] ++[] ++ a| [subs=-attributes] -A comma separated list of nodes to access the configured store. This has no effect when the 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. +Nodes to use for the cache store. a| `OCIS_CACHE_STORE_ADDRESSES` @@ -590,7 +590,7 @@ a| [subs=-attributes] ++[] ++ a| [subs=-attributes] -A comma separated list of nodes to access the configured store. This has no effect when 'in-memory' stores are configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. +Nodes to use for the cache store. a| `OCIS_CACHE_STORE_SIZE` @@ -606,7 +606,7 @@ a| [subs=-attributes] ++0 ++ a| [subs=-attributes] -The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512. +The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512. a| `OCIS_CACHE_STORE_TTL` @@ -619,13 +619,13 @@ a| [subs=attributes+] * xref:{s-path}/proxy.adoc[proxy] + a| [subs=-attributes] -++Duration ++ +++int ++ a| [subs=-attributes] -++0s ++ +++300 ++ a| [subs=-attributes] -Time to live for events in the store. The duration can be set as number followed by a unit identifier like s, m or h. Defaults to '336h' (2 weeks). +Max TTL in seconds for the gateway's stat cache. a| `OCIS_CACHE_STORE_TYPE` @@ -640,10 +640,10 @@ a| [subs=-attributes] ++string ++ a| [subs=-attributes] -++ ++ +++memory ++ a| [subs=-attributes] -The type of the cache store. Supported values are: 'memory', 'ocmem', 'etcd', 'redis', 'redis-sentinel', 'nats-js', 'noop'. See the text description for details. +Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd". a| `OCIS_CORS_ALLOW_CREDENTIALS` @@ -697,7 +697,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 @@ -759,7 +759,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` @@ -921,7 +921,7 @@ a| [subs=-attributes] ++false ++ a| [subs=-attributes] -Whether the NATS server should skip the client certificate verification during the TLS handshake. +Whether the server should skip the client certificate verification during the TLS handshake. a| `OCIS_JWT_SECRET` @@ -1191,7 +1191,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The OIDC issuer URL to use. +The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider. a| `OCIS_PERSISTENT_STORE` @@ -1251,7 +1251,7 @@ a| [subs=-attributes] ++0 ++ a| [subs=-attributes] -Set a global max quota for spaces in bytes. A value of 0 equals unlimited. If not using the global OCIS_SPACES_MAX_QUOTA, you must define the FRONTEND_MAX_QUOTA in the frontend service. +Set the global max quota value in bytes. A value of 0 equals unlimited. The value is provided via capabilities. a| `OCIS_SYSTEM_USER_API_KEY` @@ -1498,7 +1498,7 @@ a| [subs=-attributes] ++https://localhost:9200 ++ a| [subs=-attributes] -The OIDC issuer URL to use. +The public facing URL of the oCIS frontend. a| `REVA_GATEWAY` @@ -1550,7 +1550,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` diff --git a/services/antivirus/_index.md b/services/antivirus/_index.md index ed5f7dc546d..8f2997a15b8 100644 --- a/services/antivirus/_index.md +++ b/services/antivirus/_index.md @@ -1,6 +1,6 @@ --- title: Antivirus Service -date: 2023-03-27T03:39:01.869518355Z +date: 2023-03-27T04:57:09.970331854Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/antivirus diff --git a/services/audit/_index.md b/services/audit/_index.md index 52b791a3fcf..cff22fd5d85 100644 --- a/services/audit/_index.md +++ b/services/audit/_index.md @@ -1,6 +1,6 @@ --- title: Audit service -date: 2023-03-27T03:39:01.869698432Z +date: 2023-03-27T04:57:09.970528213Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/audit diff --git a/services/auth-basic/_index.md b/services/auth-basic/_index.md index e1804d92f56..2bcc97e9d3a 100644 --- a/services/auth-basic/_index.md +++ b/services/auth-basic/_index.md @@ -1,6 +1,6 @@ --- title: Auth-Basic Service -date: 2023-03-27T03:39:01.869795182Z +date: 2023-03-27T04:57:09.970619083Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/auth-basic diff --git a/services/auth-bearer/_index.md b/services/auth-bearer/_index.md index 041553722c1..6437c609fdd 100644 --- a/services/auth-bearer/_index.md +++ b/services/auth-bearer/_index.md @@ -1,6 +1,6 @@ --- title: Auth-Bearer Service -date: 2023-03-27T03:39:01.869911Z +date: 2023-03-27T04:57:09.970744709Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/auth-bearer diff --git a/services/eventhistory/_index.md b/services/eventhistory/_index.md index aca8c4b8e17..ca3f20a634b 100644 --- a/services/eventhistory/_index.md +++ b/services/eventhistory/_index.md @@ -1,6 +1,6 @@ --- title: Eventhistory Service -date: 2023-03-27T03:39:01.870015354Z +date: 2023-03-27T04:57:09.970850628Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/eventhistory diff --git a/services/frontend/_index.md b/services/frontend/_index.md index 43433d4eeca..64bb2e93705 100644 --- a/services/frontend/_index.md +++ b/services/frontend/_index.md @@ -1,6 +1,6 @@ --- title: Frontend Service -date: 2023-03-27T03:39:01.870120651Z +date: 2023-03-27T04:57:09.970962547Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/frontend diff --git a/services/graph/_index.md b/services/graph/_index.md index 166db1bb077..13a94903a27 100644 --- a/services/graph/_index.md +++ b/services/graph/_index.md @@ -1,6 +1,6 @@ --- title: Graph service -date: 2023-03-27T03:39:01.870235856Z +date: 2023-03-27T04:57:09.971066783Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/graph diff --git a/services/idm/_index.md b/services/idm/_index.md index 9486c664966..399565eb89c 100644 --- a/services/idm/_index.md +++ b/services/idm/_index.md @@ -1,6 +1,6 @@ --- title: Idm -date: 2023-03-27T03:39:01.870339861Z +date: 2023-03-27T04:57:09.971175828Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/idm diff --git a/services/idp/_index.md b/services/idp/_index.md index 34d57e1103c..3e6350e3e03 100644 --- a/services/idp/_index.md +++ b/services/idp/_index.md @@ -1,6 +1,6 @@ --- title: IDP Service -date: 2023-03-27T03:39:01.870428506Z +date: 2023-03-27T04:57:09.971270025Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/idp diff --git a/services/nats/_index.md b/services/nats/_index.md index 5a6dbd1324c..c1c674a8a45 100644 --- a/services/nats/_index.md +++ b/services/nats/_index.md @@ -1,6 +1,6 @@ --- title: Nats Service -date: 2023-03-27T03:39:01.870518454Z +date: 2023-03-27T04:57:09.971362037Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/nats diff --git a/services/notifications/_index.md b/services/notifications/_index.md index d6d390d7b85..5158b091e87 100644 --- a/services/notifications/_index.md +++ b/services/notifications/_index.md @@ -1,6 +1,6 @@ --- title: Notification service -date: 2023-03-27T03:39:01.870629943Z +date: 2023-03-27T04:57:09.971467916Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/notifications diff --git a/services/policies/_index.md b/services/policies/_index.md index cf9a253246b..918eb0a7cf6 100644 --- a/services/policies/_index.md +++ b/services/policies/_index.md @@ -1,6 +1,6 @@ --- title: Policies Service -date: 2023-03-27T03:39:01.870763142Z +date: 2023-03-27T04:57:09.9715929Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/policies diff --git a/services/postprocessing/_index.md b/services/postprocessing/_index.md index 798f8b16ee9..fefac82a045 100644 --- a/services/postprocessing/_index.md +++ b/services/postprocessing/_index.md @@ -1,6 +1,6 @@ --- title: Postprocessing Service -date: 2023-03-27T03:39:01.870913823Z +date: 2023-03-27T04:57:09.971757759Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/postprocessing diff --git a/services/proxy/_index.md b/services/proxy/_index.md index 4cbf7f022f4..93a297f0203 100644 --- a/services/proxy/_index.md +++ b/services/proxy/_index.md @@ -1,6 +1,6 @@ --- title: Proxy Service -date: 2023-03-27T03:39:01.871038747Z +date: 2023-03-27T04:57:09.971890729Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/proxy diff --git a/services/search/_index.md b/services/search/_index.md index 435a45b0af2..7980a4cc567 100644 --- a/services/search/_index.md +++ b/services/search/_index.md @@ -1,6 +1,6 @@ --- title: Search Service -date: 2023-03-27T03:39:01.871207472Z +date: 2023-03-27T04:57:09.97208838Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/search diff --git a/services/storage-system/_index.md b/services/storage-system/_index.md index 815ea1f48fa..f3208cff1a7 100644 --- a/services/storage-system/_index.md +++ b/services/storage-system/_index.md @@ -1,6 +1,6 @@ --- title: Storage-System Service -date: 2023-03-27T03:39:01.871361711Z +date: 2023-03-27T04:57:09.972278487Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/storage-system diff --git a/services/storage-users/_index.md b/services/storage-users/_index.md index 8c8a0de4d1a..5f6151f1a86 100644 --- a/services/storage-users/_index.md +++ b/services/storage-users/_index.md @@ -1,6 +1,6 @@ --- title: Storage-Users Service -date: 2023-03-27T03:39:01.871494419Z +date: 2023-03-27T04:57:09.972402038Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/storage-users diff --git a/services/thumbnails/_index.md b/services/thumbnails/_index.md index b2676fd7d2c..1f862f95108 100644 --- a/services/thumbnails/_index.md +++ b/services/thumbnails/_index.md @@ -1,6 +1,6 @@ --- title: Thumbnails Service -date: 2023-03-27T03:39:01.871638327Z +date: 2023-03-27T04:57:09.972542912Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/thumbnails diff --git a/services/userlog/_index.md b/services/userlog/_index.md index 380c5b96815..007b16b7d4a 100644 --- a/services/userlog/_index.md +++ b/services/userlog/_index.md @@ -1,6 +1,6 @@ --- title: Userlog Service -date: 2023-03-27T03:39:01.871776155Z +date: 2023-03-27T04:57:09.972672656Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/userlog diff --git a/services/web/_index.md b/services/web/_index.md index 0d2bbcb4644..b5a7d2bb89e 100644 --- a/services/web/_index.md +++ b/services/web/_index.md @@ -1,6 +1,6 @@ --- title: Web Service -date: 2023-03-27T03:39:01.871899745Z +date: 2023-03-27T04:57:09.972786981Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/web diff --git a/services/webdav/_index.md b/services/webdav/_index.md index b19219d6946..efcda201c67 100644 --- a/services/webdav/_index.md +++ b/services/webdav/_index.md @@ -1,6 +1,6 @@ --- title: Webdav Service -date: 2023-03-27T03:39:01.872070796Z +date: 2023-03-27T04:57:09.972887319Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/webdav diff --git a/services/webfinger/_index.md b/services/webfinger/_index.md index 1b201619485..c0b33f95c48 100644 --- a/services/webfinger/_index.md +++ b/services/webfinger/_index.md @@ -1,6 +1,6 @@ --- title: Webfinger Service -date: 2023-03-27T03:39:01.872206899Z +date: 2023-03-27T04:57:09.973001523Z weight: 20 geekdocRepo: https://github.com/owncloud/ocis geekdocEditPath: edit/master/docs/services/webfinger