Skip to content

Commit

Permalink
[tests-only][full-ci]Extend tests coverage for different role capabil…
Browse files Browse the repository at this point in the history
…ity for spaces (#5853)

* Add tests related to different user role manipulating space

* Review addressed

* Refactor existing scenario
  • Loading branch information
amrita-shrestha committed Mar 28, 2023
1 parent 49718db commit 9bd2a59
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 @@ -41,7 +41,7 @@ a| [subs=-attributes]
++string ++

a| [subs=-attributes]
++uid=libregraph,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 @@ -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 @@ -210,10 +210,10 @@ 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.
LDAP Attribute to use as the unique id for groups. This should be a stable globally unique id (e.g. a UUID).

a| `LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING`

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

a| [subs=-attributes]
Set this to true if the defined 'id' attribute for groups is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the group ID's.
Set this to true if the defined 'id' attribute for groups is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the group IDs.

a| `LDAP_GROUP_SCHEMA_MAIL`

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

a| [subs=-attributes]
LDAP search scope to use when looking up groups. Supported scopes are 'base', 'one' and 'sub'.
LDAP search scope to use when looking up groups. Supported values are 'base', 'one' and 'sub'.

a| `LDAP_INSECURE`

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

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 All @@ -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 IDs.

a| `LDAP_USER_SCHEMA_MAIL`

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

a| [subs=-attributes]
++ownCloudUserType ++
++ ++

a| [subs=-attributes]
LDAP Attribute to distinguish between 'Member' and 'Guest' users. Default is 'ownCloudUserType'.
Expand All @@ -504,7 +504,7 @@ a| [subs=-attributes]
++sub ++

a| [subs=-attributes]
LDAP search scope to use when looking up users. Supported scopes are 'base', 'one' and 'sub'.
LDAP search scope to use when looking up users. Supported values are 'base', 'one' and 'sub'.

a| `OCIS_ADMIN_USER_ID`

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

Expand All @@ -536,7 +536,7 @@ 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.
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 All @@ -571,7 +571,7 @@ a| [subs=-attributes]
++[] ++

a| [subs=-attributes]
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 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| `OCIS_CACHE_STORE_NODES`

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

a| [subs=-attributes]
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 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| `OCIS_CACHE_STORE_SIZE`

Expand Down Expand Up @@ -622,10 +622,10 @@ a| [subs=-attributes]
++Duration ++

a| [subs=-attributes]
++336h0m0s ++
++0s ++

a| [subs=-attributes]
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).
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).

a| `OCIS_CACHE_STORE_TYPE`

Expand All @@ -640,7 +640,7 @@ 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.
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 @@ -1188,10 +1188,10 @@ a| [subs=-attributes]
++string ++

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

a| [subs=-attributes]
The identity provider href for the openid-discovery relation.
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.

a| `OCIS_PERSISTENT_STORE`

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

a| [subs=-attributes]
The type of the eventhistory store. Supported values are: 'memory', 'ocmem', 'etcd', 'redis', 'redis-sentinel', 'nats-js', 'noop'. See the text description for details.
The type of the userlog store. Supported values are: 'memory', 'ocmem', 'etcd', 'redis', 'redis-sentinel', 'nats-js', 'noop'. See the text description for details.

a| `OCIS_PERSISTENT_STORE_NODES`

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

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

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

a| [subs=-attributes]
Base url to navigate back from the app to the containing folder in the file list.
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.

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-28T00:28:00.061242137Z
date: 2023-03-28T03:30:38.415427042Z
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-28T00:28:00.061634127Z
date: 2023-03-28T03:30:38.415627155Z
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-28T00:28:00.061760823Z
date: 2023-03-28T03:30:38.415745575Z
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-28T00:28:00.06187166Z
date: 2023-03-28T03:30:38.415866421Z
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-28T00:28:00.061979891Z
date: 2023-03-28T03:30:38.415998177Z
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-28T00:28:00.062094675Z
date: 2023-03-28T03:30:38.41610718Z
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-28T00:28:00.062192647Z
date: 2023-03-28T03:30:38.416218376Z
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-28T00:28:00.062286632Z
date: 2023-03-28T03:30:38.416312893Z
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-28T00:28:00.062375477Z
date: 2023-03-28T03:30:38.416407068Z
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-28T00:28:00.062471316Z
date: 2023-03-28T03:30:38.416501583Z
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-28T00:28:00.062562615Z
date: 2023-03-28T03:30:38.416594978Z
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-28T00:28:00.062694882Z
date: 2023-03-28T03:30:38.416703871Z
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-28T00:28:00.062884515Z
date: 2023-03-28T03:30:38.41689142Z
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-28T00:28:00.06303775Z
date: 2023-03-28T03:30:38.417035609Z
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-28T00:28:00.063184443Z
date: 2023-03-28T03:30:38.417192451Z
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-28T00:28:00.063358397Z
date: 2023-03-28T03:30:38.41734729Z
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-28T00:28:00.063508727Z
date: 2023-03-28T03:30:38.417461512Z
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-28T00:28:00.063621196Z
date: 2023-03-28T03:30:38.417603476Z
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-28T00:28:00.063770825Z
date: 2023-03-28T03:30:38.41774479Z
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-28T00:28:00.063915525Z
date: 2023-03-28T03:30:38.417862179Z
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-28T00:28:00.064016843Z
date: 2023-03-28T03:30:38.417979616Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/services/webdav
Expand Down
Loading

0 comments on commit 9bd2a59

Please sign in to comment.