Skip to content

Commit

Permalink
api test to set quota by users with different roles (#5854)
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Mar 27, 2023
1 parent 93a8f3d commit a57cd68
Show file tree
Hide file tree
Showing 23 changed files with 47 additions and 47 deletions.
50 changes: 25 additions & 25 deletions services/_includes/adoc/global_configvars.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ a| [subs=-attributes]
++string ++

a| [subs=-attributes]
++uid=reva,ou=sysusers,o=libregraph-idm ++
++uid=libregraph,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 @@ -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`

Expand Down Expand Up @@ -163,7 +163,7 @@ a| [subs=-attributes]
++groupOfNames ++

a| [subs=-attributes]
The object class to use for groups in the default group search filter ('groupOfNames').
The object class to use for groups in the default group search filter ('groupOfNames').

a| `LDAP_GROUP_SCHEMA_DISPLAYNAME`

Expand Down Expand Up @@ -210,7 +210,7 @@ a| [subs=-attributes]
++string ++

a| [subs=-attributes]
++ownclouduuid ++
++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.
Expand Down Expand Up @@ -416,10 +416,10 @@ a| [subs=-attributes]
++string ++

a| [subs=-attributes]
++ownclouduuid ++
++owncloudUUID ++

a| [subs=-attributes]
LDAP Attribute to use as the unique id for users. This should be a stable globally unique id like a UUID.
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 @@ -539,7 +539,7 @@ a| [subs=-attributes]
++memory ++

a| [subs=-attributes]
Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd".
Store implementation for the cache. Supported values are 'memory' (default), 'redis', 'redis-sentinel', 'nats-js', and 'etcd'. See the text description for details.

a| `OCIS_CACHE_STORE_ADDRESS`

Expand All @@ -555,7 +555,7 @@ a| [subs=-attributes]
++[] ++

a| [subs=-attributes]
Nodes to use for the cache store.
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.

a| `OCIS_CACHE_STORE_ADDRESSES`

Expand All @@ -571,7 +571,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.
A comma-separated list of nodes to connect to. 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.

a| `OCIS_CACHE_STORE_NODES`

Expand All @@ -590,7 +590,7 @@ a| [subs=-attributes]
++[] ++

a| [subs=-attributes]
Nodes to use for the cache store.
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.

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 user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512.
The maximum quantity of items in the store. 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]
++int ++
++Duration ++

a| [subs=-attributes]
++300 ++
++336h0m0s ++

a| [subs=-attributes]
Max TTL in seconds for the gateway's stat cache.
Time to live for cache records in the graph. The duration can be set as number followed by a unit identifier like s, m or h. Defaults to '336h' (2 weeks).

a| `OCIS_CACHE_STORE_TYPE`

Expand All @@ -643,7 +643,7 @@ a| [subs=-attributes]
++memory ++

a| [subs=-attributes]
Store implementation for the cache. Valid values are "memory" (default), "redis", and "etcd".
The type of the cache store. Supported values are: 'memory', 'ocmem', 'etcd', 'redis', 'redis-sentinel', 'nats-js', 'noop'. See the text description for details.

a| `OCIS_CORS_ALLOW_CREDENTIALS`

Expand Down Expand Up @@ -697,7 +697,7 @@ a| [subs=-attributes]
++[]string ++

a| [subs=-attributes]
++[GET] ++
++[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
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 server should skip the client certificate verification during the TLS handshake.
Whether to verify the server TLS certificates.

a| `OCIS_JWT_SECRET`

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

Expand All @@ -1191,7 +1191,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++

a| [subs=-attributes]
The identity provider value to set in the group IDs of the CS3 group objects for groups returned by this group provider.
URL of the OIDC issuer. It defaults to URL of the builtin IDP.

a| `OCIS_PERSISTENT_STORE`

Expand Down Expand Up @@ -1251,7 +1251,7 @@ a| [subs=-attributes]
++0 ++

a| [subs=-attributes]
Set the global max quota value in bytes. A value of 0 equals unlimited. The value is provided via capabilities.
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.

a| `OCIS_SYSTEM_USER_API_KEY`

Expand Down Expand Up @@ -1495,10 +1495,10 @@ a| [subs=-attributes]
++string ++

a| [subs=-attributes]
++https://localhost:9200 ++
++https://localhost:9200/ ++

a| [subs=-attributes]
The public facing URL of the oCIS frontend.
Base url to navigate back from the app to the containing folder in the file list.

a| `REVA_GATEWAY`

Expand Down Expand Up @@ -1550,7 +1550,7 @@ a| [subs=-attributes]
++ ++

a| [subs=-attributes]
The storage transfer secret.
Transfer secret for signing file up- and download requests.

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-27T04:57:09.970331854Z
date: 2023-03-27T04:57:51.187123477Z
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-27T04:57:09.970528213Z
date: 2023-03-27T04:57:51.187443767Z
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-27T04:57:09.970619083Z
date: 2023-03-27T04:57:51.187608315Z
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-27T04:57:09.970744709Z
date: 2023-03-27T04:57:51.187839027Z
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-27T04:57:09.970850628Z
date: 2023-03-27T04:57:51.188094876Z
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-27T04:57:09.970962547Z
date: 2023-03-27T04:57:51.188330808Z
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-27T04:57:09.971066783Z
date: 2023-03-27T04:57:51.188538768Z
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-27T04:57:09.971175828Z
date: 2023-03-27T04:57:51.188775711Z
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-27T04:57:09.971270025Z
date: 2023-03-27T04:57:51.189045827Z
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-27T04:57:09.971362037Z
date: 2023-03-27T04:57:51.18923391Z
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-27T04:57:09.971467916Z
date: 2023-03-27T04:57:51.18945363Z
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-27T04:57:09.9715929Z
date: 2023-03-27T04:57:51.189719369Z
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-27T04:57:09.971757759Z
date: 2023-03-27T04:57:51.190066469Z
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-27T04:57:09.971890729Z
date: 2023-03-27T04:57:51.19040335Z
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-27T04:57:09.97208838Z
date: 2023-03-27T04:57:51.190742144Z
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-27T04:57:09.972278487Z
date: 2023-03-27T04:57:51.191042817Z
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-27T04:57:09.972402038Z
date: 2023-03-27T04:57:51.191309136Z
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-27T04:57:09.972542912Z
date: 2023-03-27T04:57:51.191450651Z
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-27T04:57:09.972672656Z
date: 2023-03-27T04:57:51.191605061Z
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-27T04:57:09.972786981Z
date: 2023-03-27T04:57:51.191708404Z
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-27T04:57:09.972887319Z
date: 2023-03-27T04:57:51.191824211Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/services/webdav
Expand Down
2 changes: 1 addition & 1 deletion services/webfinger/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Webfinger Service
date: 2023-03-27T04:57:09.973001523Z
date: 2023-03-27T04:57:51.191990012Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/services/webfinger
Expand Down

0 comments on commit a57cd68

Please sign in to comment.