From b80fd10e9ca9bbd38c99ac15d202c585098141a5 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Tue, 24 Feb 2026 06:30:26 +0100 Subject: [PATCH] sharing: load configuration into base --- radicale/app/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radicale/app/base.py b/radicale/app/base.py index 29ef3b71..44f064e7 100644 --- a/radicale/app/base.py +++ b/radicale/app/base.py @@ -22,7 +22,7 @@ import xml.etree.ElementTree as ET from typing import Optional, Union from radicale import (auth, config, hook, httputils, pathutils, rights, - storage, types, utils, web, xmlutils) + sharing, storage, types, utils, web, xmlutils) from radicale.log import logger from radicale.rights import intersect @@ -38,6 +38,7 @@ class ApplicationBase: _storage: storage.BaseStorage _rights: rights.BaseRights _web: web.BaseWeb + _sharing: sharing.BaseSharing _encoding: str _max_resource_size: int _permit_delete_collection: bool @@ -51,6 +52,7 @@ class ApplicationBase: self._storage = storage.load(configuration) self._rights = rights.load(configuration) self._web = web.load(configuration) + self._sharing = sharing.load(configuration) self._encoding = configuration.get("encoding", "request") self._log_bad_put_request_content = configuration.get("logging", "bad_put_request_content") self._response_content_on_debug = configuration.get("logging", "response_content_on_debug")