From 3f5f4865c12bd7f9ec3ff34e6eae0e9c311df9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 4 May 2022 12:05:27 +0000 Subject: [PATCH 1/2] set OCIS_SYSTEM_USER_ID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- .vscode/launch.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4d181ce3a0b..5afcc33e13b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -40,8 +40,8 @@ "IDM_ADMIN_PASSWORD": "admin", // demo users "IDM_CREATE_DEMO_USERS": "true", - // metadata storage - "METADATA_USER_ID": "some-metadata-user-id" + // system user + "OCIS_SYSTEM_USER_ID": "some-system-user-id" // OCIS_RUN_EXTENSIONS allows to start a subset of extensions even in the supervised mode //"OCIS_RUN_EXTENSIONS": "settings,storage-system,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,frontend,gateway,user,group,auth-basic,auth-bearer,storage-authmachine,storage-users,storage-shares,storage-publiclink,app-provider,sharing,accounts,proxy,ocdav", } From 6193c4a1f67ae17fa81278e79e0b93e89214d838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 4 May 2022 12:17:41 +0000 Subject: [PATCH 2/2] use uuid length user ids MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- .vscode/launch.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 5afcc33e13b..d73a6daaeb6 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -16,7 +16,7 @@ "OCIS_LOG_PRETTY": "true", "OCIS_LOG_COLOR": "true", // user id of "admin", for user creation and admin role assignement - "OCIS_ADMIN_USER_ID": "admin-user-id", + "OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228 // set insecure options because we don't have valid certificates in dev environments "OCIS_INSECURE": "true", // set some hardcoded secrets @@ -41,7 +41,7 @@ // demo users "IDM_CREATE_DEMO_USERS": "true", // system user - "OCIS_SYSTEM_USER_ID": "some-system-user-id" + "OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228 // OCIS_RUN_EXTENSIONS allows to start a subset of extensions even in the supervised mode //"OCIS_RUN_EXTENSIONS": "settings,storage-system,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,frontend,gateway,user,group,auth-basic,auth-bearer,storage-authmachine,storage-users,storage-shares,storage-publiclink,app-provider,sharing,accounts,proxy,ocdav", }