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.