diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index e390ec33ac1..c33a05944f3 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-09-09T19:13:51Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index 17ea1a09340..3019f785c77 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-09-09T19:13:51Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index edf97a483c6..b7b39e1c4d7 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-09-09T19:13:51Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index 522c591ccc0..1df721f3d7d 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-09-09T19:13:52Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index ac5ab4a8fdc..b32ce909bd4 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-09-09T19:13:52Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index b83cab56719..259b073dcd1 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-09-09T19:13:52Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index 683435fe05e..5c0f0104b5b 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-09-09T19:13:52Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index bc8afad549d..cffd88993d1 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-09-09T19:13:51Z +date: 2022-09-09T19:17:59Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/services/_includes/adoc/sharing_configvars.adoc b/services/_includes/adoc/sharing_configvars.adoc index dc3ef6ae9e6..3ea742777b2 100644 --- a/services/_includes/adoc/sharing_configvars.adoc +++ b/services/_includes/adoc/sharing_configvars.adoc @@ -270,7 +270,7 @@ Mount ID of the ownCloudSQL users storage for mapping ownCloud 10 shares. a| [subs=-attributes] +string+ a| [subs=-attributes] -pass:[cs3] +pass:[jsoncs3] a| [subs=-attributes] Driver to be used to persist public shares. Supported values are 'json' and 'cs3'. |`SHARING_PUBLIC_JSON_FILE` @@ -296,6 +296,37 @@ 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_PUBLIC_CS3_SYSTEM_USER_ID` +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_PUBLIC_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_PUBLIC_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_PUBLIC_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_PUBLIC_CS3_SYSTEM_USER_IDP` a| [subs=-attributes] +string+ @@ -304,7 +335,7 @@ 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` +`SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY` a| [subs=-attributes] +string+ a| [subs=-attributes] diff --git a/services/_includes/sharing-config-example.yaml b/services/_includes/sharing-config-example.yaml index d597309d6cf..4f4252a61ed 100644 --- a/services/_includes/sharing-config-example.yaml +++ b/services/_includes/sharing-config-example.yaml @@ -48,10 +48,15 @@ user_sharing_drivers: db_port: 3306 db_name: owncloud user_storage_mount_id: "" -public_sharing_driver: cs3 +public_sharing_driver: jsoncs3 public_sharing_drivers: json: file: ~/.ocis/storage/publicshares.json + jsoncs3: + provider_addr: 127.0.0.1:9215 + system_user_id: "" + system_user_idp: internal + system_user_api_key: "" cs3: provider_addr: 127.0.0.1:9215 system_user_id: "" diff --git a/services/_includes/sharing_configvars.md b/services/_includes/sharing_configvars.md index 8083582522c..3dcfbaacc9c 100644 --- a/services/_includes/sharing_configvars.md +++ b/services/_includes/sharing_configvars.md @@ -37,9 +37,13 @@ | SHARING_USER_OWNCLOUDSQL_DB_PORT | int | 3306 | Port that the database server is listening on.| | SHARING_USER_OWNCLOUDSQL_DB_NAME | string | owncloud | Name of the database to be used.| | SHARING_USER_OWNCLOUDSQL_USER_STORAGE_MOUNT_ID | string | | Mount ID of the ownCloudSQL users storage for mapping ownCloud 10 shares.| -| SHARING_PUBLIC_DRIVER | string | cs3 | Driver to be used to persist public shares. Supported values are 'json' and 'cs3'.| +| SHARING_PUBLIC_DRIVER | string | jsoncs3 | Driver to be used to persist public shares. Supported values are 'json' and 'cs3'.| | SHARING_PUBLIC_JSON_FILE | string | ~/.ocis/storage/publicshares.json | Path to the JSON file where public share meta-data will be stored. This JSON file contains the information about public shares that have been created.| | SHARING_PUBLIC_CS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.| | OCIS_SYSTEM_USER_ID
SHARING_PUBLIC_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
SHARING_PUBLIC_CS3_SYSTEM_USER_ID | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.| +| OCIS_SYSTEM_USER_API_KEY
SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY | string | | API key for the STORAGE-SYSTEM system user.| +| SHARING_PUBLIC_CS3_PROVIDER_ADDR | string | 127.0.0.1:9215 | GRPC address of the STORAGE-SYSTEM service.| +| OCIS_SYSTEM_USER_ID
SHARING_PUBLIC_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
SHARING_PUBLIC_CS3_SYSTEM_USER_IDP | string | internal | IDP of the oCIS STORAGE-SYSTEM system user.| -| OCIS_SYSTEM_USER_API_KEY
SHARING_USER_CS3_SYSTEM_USER_API_KEY | string | | API key for the STORAGE-SYSTEM system user.| \ No newline at end of file +| OCIS_SYSTEM_USER_API_KEY
SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY | string | | API key for the STORAGE-SYSTEM system user.| \ No newline at end of file