diff --git a/pkg/models/api_routes.go b/pkg/models/api_routes.go index 18a09e2a6..10486cf1f 100644 --- a/pkg/models/api_routes.go +++ b/pkg/models/api_routes.go @@ -229,7 +229,10 @@ func CanDoAPIRoute(c echo.Context, token *APIToken) (can bool) { routeGroupName = strings.TrimSuffix(routeGroupName, "_bulk") - if routeGroupName == "user" { + if routeGroupName == "user" || + routeGroupName == "users" || + routeGroupName == "notifications" || + routeGroupName == "routes" { routeGroupName = "other" }