Skip to content

Commit

Permalink
test for adding users to a group using invalid JSON (#5931)
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Mar 27, 2023
1 parent 63a2f40 commit 93a8f3d
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 51 deletions.
58 changes: 29 additions & 29 deletions services/_includes/adoc/global_configvars.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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.
Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion services/antivirus/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/audit/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/auth-basic/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/auth-bearer/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/eventhistory/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/frontend/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/graph/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/idm/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/idp/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/nats/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/notifications/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/policies/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/postprocessing/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/proxy/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/search/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/storage-system/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/storage-users/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/thumbnails/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/userlog/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/web/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion services/webdav/_index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit 93a8f3d

Please sign in to comment.