Merge: 29f52515e c5bde43ba
Author: David Christofas <dchristofas@owncloud.com>
Date:   Mon Sep 5 16:16:18 2022 +0200

    Merge pull request #4436 from aduffeck/jsoncs3-share-manager

    Jsoncs3 share manager
This commit is contained in:
David Christofas committed 2022-09-05 14:20:23 +00:00
1 parent 542c8ee5fe
commit 514da83db3
11 files changed
+51 -11

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /grpc_apis/ocis_messages_search_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /grpc_apis/ocis_messages_thumbnails_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /grpc_apis/ocis_services_search_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /grpc_apis/ocis_services_thumbnails_v0
date: 2022-09-05T14:00:20Z
date: 2022-09-05T14:19:27Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -152,9 +152,40 @@ Disables the loading of user's group memberships from the reva access token.
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[cs3]
pass:[jsoncs3]
a| [subs=-attributes]
Driver to be used to persist shares. Supported values are 'json', 'cs3' and 'owncloudsql'.
|`SHARING_USER_CS3_PROVIDER_ADDR`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[127.0.0.1:9215]
a| [subs=-attributes]
GRPC address of the STORAGE-SYSTEM service.
|`OCIS_SYSTEM_USER_ID` +
`SHARING_USER_CS3_SYSTEM_USER_ID`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.
|`OCIS_SYSTEM_USER_IDP` +
`SHARING_USER_CS3_SYSTEM_USER_IDP`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[internal]
a| [subs=-attributes]
IDP of the oCIS STORAGE-SYSTEM system user.
|`OCIS_SYSTEM_USER_API_KEY` +
`SHARING_USER_CS3_SYSTEM_USER_API_KEY`
a| [subs=-attributes]
+string+
a| [subs=-attributes]
pass:[]
a| [subs=-attributes]
API key for the STORAGE-SYSTEM system user.
|`SHARING_USER_JSON_FILE`
a| [subs=-attributes]
+string+
@@ -27,8 +27,13 @@ events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
skip_user_groups_in_token: false
user_sharing_driver: cs3
user_sharing_driver: jsoncs3
user_sharing_drivers:
jsoncs3:
provider_addr: 127.0.0.1:9215
system_user_id: ""
system_user_idp: internal
system_user_api_key: ""
json:
file: ~/.ocis/storage/shares.json
cs3:
+5 -1
View File
@@ -21,7 +21,11 @@
| SHARING_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | |
| SHARING_EVENTS_CLUSTER | string | ocis-cluster | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.|
| SHARING_SKIP_USER_GROUPS_IN_TOKEN | bool | false | Disables the loading of user's group memberships from the reva access token.|
| SHARING_USER_DRIVER | string | cs3 | Driver to be used to persist shares. Supported values are 'json', 'cs3' and 'owncloudsql'.|
| SHARING_USER_DRIVER | string | jsoncs3 | Driver to be used to persist shares. Supported values are 'json', 'cs3' and 'owncloudsql'.|
| SHARING_USER_CS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.|
| OCIS_SYSTEM_USER_ID<br/>SHARING_USER_CS3_SYSTEM_USER_ID | string | | ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.|
| OCIS_SYSTEM_USER_IDP<br/>SHARING_USER_CS3_SYSTEM_USER_IDP | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.|
| OCIS_SYSTEM_USER_API_KEY<br/>SHARING_USER_CS3_SYSTEM_USER_API_KEY | string | | API key for the STORAGE-SYSTEM system user.|
| SHARING_USER_JSON_FILE | string | ~/.ocis/storage/shares.json | Path to the JSON file where shares will be persisted.|
| SHARING_USER_CS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.|
| OCIS_SYSTEM_USER_ID<br/>SHARING_USER_CS3_SYSTEM_USER_ID | string | | ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.|