From a092df6f2bba0cb07b036e10fb0a0465c3f370b6 Mon Sep 17 00:00:00 2001
From: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date: Mon, 16 May 2022 10:50:12 +0000
Subject: [PATCH] commit 61b9b6c96bc0429389c0b70afffb70555ae44a69 Merge:
6a7fc5044 713bdfccc Author: Willy Kloucek
<34452982+wkloucek@users.noreply.github.com> Date: Mon May 16 12:46:31 2022
+0200
Merge pull request #3802 from wkloucek/fix-storage-users-config
Bugfix: Fix multiple configuration environment variables for the storage-users extension
---
.../_includes/adoc/storage-users_configvars.adoc | 12 ++++++------
extensions/_includes/storage-users_configvars.md | 8 ++++----
grpc_apis/ocis/messages/search/v0/grpc.md | 2 +-
grpc_apis/ocis/messages/settings/v0/grpc.md | 2 +-
grpc_apis/ocis/messages/store/v0/grpc.md | 2 +-
grpc_apis/ocis/messages/thumbnails/v0/grpc.md | 2 +-
grpc_apis/ocis/services/search/v0/grpc.md | 2 +-
grpc_apis/ocis/services/settings/v0/grpc.md | 2 +-
grpc_apis/ocis/services/store/v0/grpc.md | 2 +-
grpc_apis/ocis/services/thumbnails/v0/grpc.md | 2 +-
10 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/extensions/_includes/adoc/storage-users_configvars.adoc b/extensions/_includes/adoc/storage-users_configvars.adoc
index 1862eb50a8f..7588d693120 100644
--- a/extensions/_includes/adoc/storage-users_configvars.adoc
+++ b/extensions/_includes/adoc/storage-users_configvars.adoc
@@ -85,15 +85,15 @@
| tcp
| The transport protocol of the grpc service.
-|`STORAGE_USERS_GRPC_ADDR`
+|`STORAGE_USERS_HTTP_ADDR`
| string
| 127.0.0.1:9158
-| The address of the grpc service.
+| The address of the http service.
-|`STORAGE_USERS_GRPC_PROTOCOL`
+|`STORAGE_USERS_HTTP_PROTOCOL`
| string
| tcp
-| The transport protocol of the grpc service.
+| The transport protocol of the http service.
|`OCIS_JWT_SECRET` +
`STORAGE_USERS_JWT_SECRET`
@@ -126,7 +126,7 @@
| {{.Id.OpaqueId}}
|
-|`STORAGE_USERS_OCIS_PERMISSIONS_ENDPOINT`
+|`STORAGE_USERS_PERMISSION_ENDPOINT,STORAGE_USERS_OCIS_PERMISSIONS_ENDPOINT`
| string
| 127.0.0.1:9191
|
@@ -157,7 +157,7 @@
|
|`STORAGE_USERS_PERMISSION_ENDPOINT` +
-`STORAGE_USERS_S3NG_USERS_PROVIDER_ENDPOINT`
+`STORAGE_USERS_S3NG_PERMISSIONS_ENDPOINT`
| string
| 127.0.0.1:9191
|
diff --git a/extensions/_includes/storage-users_configvars.md b/extensions/_includes/storage-users_configvars.md
index afab096f462..9aec0fdd4da 100644
--- a/extensions/_includes/storage-users_configvars.md
+++ b/extensions/_includes/storage-users_configvars.md
@@ -16,21 +16,21 @@
| STORAGE_USERS_DEBUG_ZPAGES | bool | false | |
| STORAGE_USERS_GRPC_ADDR | string | 127.0.0.1:9157 | The address of the grpc service.|
| STORAGE_USERS_GRPC_PROTOCOL | string | tcp | The transport protocol of the grpc service.|
-| STORAGE_USERS_GRPC_ADDR | string | 127.0.0.1:9158 | The address of the grpc service.|
-| STORAGE_USERS_GRPC_PROTOCOL | string | tcp | The transport protocol of the grpc service.|
+| STORAGE_USERS_HTTP_ADDR | string | 127.0.0.1:9158 | The address of the http service.|
+| STORAGE_USERS_HTTP_PROTOCOL | string | tcp | The transport protocol of the http service.|
| OCIS_JWT_SECRET
STORAGE_USERS_JWT_SECRET | string | | |
| REVA_GATEWAY | string | 127.0.0.1:9142 | |
| STORAGE_USERS_SKIP_USER_GROUPS_IN_TOKEN | bool | false | |
| STORAGE_USERS_DRIVER | string | ocis | The storage driver which should be used by the service|
| STORAGE_USERS_OCIS_ROOT | string | ~/.ocis/storage/users | |
| STORAGE_USERS_OCIS_USER_LAYOUT | string | {{.Id.OpaqueId}} | |
-| STORAGE_USERS_OCIS_PERMISSIONS_ENDPOINT | string | 127.0.0.1:9191 | |
+| STORAGE_USERS_PERMISSION_ENDPOINT,STORAGE_USERS_OCIS_PERMISSIONS_ENDPOINT | string | 127.0.0.1:9191 | |
| STORAGE_USERS_OCIS_PERSONAL_SPACE_ALIAS_TEMPLATE | string | {{.SpaceType}}/{{.User.Username \| lower}} | |
| STORAGE_USERS_OCIS_GENERAL_SPACE_ALIAS_TEMPLATE | string | {{.SpaceType}}/{{.SpaceName \| replace " " "-" \| lower}} | |
| STORAGE_USERS_OCIS_SHARE_FOLDER | string | /Shares | |
| STORAGE_USERS_S3NG_ROOT | string | ~/.ocis/storage/users | |
| STORAGE_USERS_S3NG_USER_LAYOUT | string | {{.Id.OpaqueId}} | |
-| STORAGE_USERS_PERMISSION_ENDPOINT
STORAGE_USERS_S3NG_USERS_PROVIDER_ENDPOINT | string | 127.0.0.1:9191 | |
+| STORAGE_USERS_PERMISSION_ENDPOINT
STORAGE_USERS_S3NG_PERMISSIONS_ENDPOINT | string | 127.0.0.1:9191 | |
| STORAGE_USERS_S3NG_REGION | string | default | |
| STORAGE_USERS_S3NG_ACCESS_KEY | string | | |
| STORAGE_USERS_S3NG_SECRET_KEY | string | | |
diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md
index b119068e191..5b598232f3c 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
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 849cfef863e..c51d320f030 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
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 0e546da8359..14a98c43a36 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
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 6591b0d165a..b2e31461596 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:07Z
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 29a0a90920b..df1a4b99ac4 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
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 273325a9a7d..5c5037271e3 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
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 798c0393d83..79a0ab260a2 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
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 71404ee829b..91911837dd1 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-05-16T10:15:19Z
+date: 2022-05-16T10:48:08Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---