From 80548aaf2c8c797ab77f930c2abcaeb670dd6dbc Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 18 Aug 2024 08:51:50 +0800 Subject: [PATCH] chore: tweak acl config --- server/route/api/v1/acl_config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/route/api/v1/acl_config.go b/server/route/api/v1/acl_config.go index 04f9765..0bca6d4 100644 --- a/server/route/api/v1/acl_config.go +++ b/server/route/api/v1/acl_config.go @@ -5,13 +5,13 @@ import "strings" var allowedMethodsWhenUnauthorized = map[string]bool{ "/slash.api.v1.WorkspaceService/GetWorkspaceProfile": true, "/slash.api.v1.WorkspaceService/GetWorkspaceSetting": true, + "/slash.api.v1.AuthService/GetAuthStatus": true, "/slash.api.v1.AuthService/SignIn": true, "/slash.api.v1.AuthService/SignInWithSSO": true, "/slash.api.v1.AuthService/SignUp": true, "/slash.api.v1.AuthService/SignOut": true, - "/slash.api.v1.AuthService/GetAuthStatus": true, - "/slash.api.v1.ShortcutService/GetShortcutByName": true, "/slash.api.v1.ShortcutService/GetShortcut": true, + "/slash.api.v1.ShortcutService/GetShortcutByName": true, "/slash.api.v1.CollectionService/GetCollectionByName": true, }