test for adding users to a group using invalid JSON (#5931)

This commit is contained in:
Prajwol Amatya committed 2023-03-27 04:59:01 +00:00
1 parent 63a2f40351
commit 93a8f3dd11
23 files changed
+51 -51

No files matched your search

+29 -29
View File
@@ -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`
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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