From b0b7c52b155568e7b7206219d936e64a967eaa4d Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 26 Mar 2026 11:31:40 +0100 Subject: [PATCH] feat: register caldav permission group for API tokens --- pkg/models/api_routes.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/models/api_routes.go b/pkg/models/api_routes.go index 5dd7e92e7..2f52237a7 100644 --- a/pkg/models/api_routes.go +++ b/pkg/models/api_routes.go @@ -29,6 +29,12 @@ var apiTokenRoutes = map[string]APITokenRoute{} func init() { apiTokenRoutes = make(map[string]APITokenRoute) + apiTokenRoutes["caldav"] = APITokenRoute{ + "access": &RouteDetail{ + Path: "/dav/*", + Method: "ANY", + }, + } } type APITokenRoute map[string]*RouteDetail