From 96ab5b226df5adff8e351863e9b6d091c5f4abe7 Mon Sep 17 00:00:00 2001 From: Steven Date: Sun, 13 Aug 2023 00:00:14 +0800 Subject: [PATCH] chore: fix method name --- api/v2/acl_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v2/acl_config.go b/api/v2/acl_config.go index 8b053a9..9d0bbab 100644 --- a/api/v2/acl_config.go +++ b/api/v2/acl_config.go @@ -13,7 +13,7 @@ func isUnauthorizeAllowedMethod(methodName string) bool { } var allowedMethodsOnlyForAdmin = map[string]bool{ - "/slash.v2.UserService/CreateUser": true, + "/slash.api.v2.UserService/CreateUser": true, } // isOnlyForAdminAllowedMethod returns true if the method is allowed to be called only by admin.