From 265b09862f830b2fb4a6bfdf0296c78649384fdf Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 26 Jun 2024 17:42:49 +0800 Subject: [PATCH] fix: unable to get permission api issue --- core/controllers/router_v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/controllers/router_v2.go b/core/controllers/router_v2.go index fa8a47a6..6b8f91aa 100644 --- a/core/controllers/router_v2.go +++ b/core/controllers/router_v2.go @@ -76,7 +76,7 @@ func InitRoutes(app *gin.Engine) (err error) { RegisterController(groups.AuthGroup, "/environments", NewControllerV2[models.EnvironmentV2]()) RegisterController(groups.AuthGroup, "/nodes", NewControllerV2[models.NodeV2]()) RegisterController(groups.AuthGroup, "/notifications/settings", NewControllerV2[models.NotificationSettingV2]()) - RegisterController(groups.AuthGroup, "/permissions", NewControllerV2[models.PermissionV2]()) + //RegisterController(groups.AuthGroup, "/permissions", NewControllerV2[models.PermissionV2]()) RegisterController(groups.AuthGroup, "/projects", NewControllerV2[models.ProjectV2]([]Action{ { Method: http.MethodGet,