chore: tweak acl config

This commit is contained in:
Steven 2024-08-18 08:51:50 +08:00
parent da14b9b7e5
commit 80548aaf2c

View File

@ -5,13 +5,13 @@ import "strings"
var allowedMethodsWhenUnauthorized = map[string]bool{ var allowedMethodsWhenUnauthorized = map[string]bool{
"/slash.api.v1.WorkspaceService/GetWorkspaceProfile": true, "/slash.api.v1.WorkspaceService/GetWorkspaceProfile": true,
"/slash.api.v1.WorkspaceService/GetWorkspaceSetting": true, "/slash.api.v1.WorkspaceService/GetWorkspaceSetting": true,
"/slash.api.v1.AuthService/GetAuthStatus": true,
"/slash.api.v1.AuthService/SignIn": true, "/slash.api.v1.AuthService/SignIn": true,
"/slash.api.v1.AuthService/SignInWithSSO": true, "/slash.api.v1.AuthService/SignInWithSSO": true,
"/slash.api.v1.AuthService/SignUp": true, "/slash.api.v1.AuthService/SignUp": true,
"/slash.api.v1.AuthService/SignOut": 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/GetShortcut": true,
"/slash.api.v1.ShortcutService/GetShortcutByName": true,
"/slash.api.v1.CollectionService/GetCollectionByName": true, "/slash.api.v1.CollectionService/GetCollectionByName": true,
} }