diff --git a/src/Access/AccessControlManager.cpp b/src/Access/AccessControlManager.cpp index 56d225f64f4..0913717808a 100644 --- a/src/Access/AccessControlManager.cpp +++ b/src/Access/AccessControlManager.cpp @@ -137,6 +137,10 @@ AccessControlManager::AccessControlManager() AccessControlManager::~AccessControlManager() = default; +void AccessControlManager::addStorage(const StoragePtr & new_storage) { + MultipleAccessStorage::addStorage(new_storage); + LOG_DEBUG(getLogger(), "Added storage '{}' of type '{}'", new_storage->getStorageName(), String(new_storage->getStorageType())); +} void AccessControlManager::setUsersConfig(const Poco::Util::AbstractConfiguration & users_config_) { diff --git a/src/Access/AccessControlManager.h b/src/Access/AccessControlManager.h index c960b330ee6..dd710614ece 100644 --- a/src/Access/AccessControlManager.h +++ b/src/Access/AccessControlManager.h @@ -149,6 +149,8 @@ public: const ExternalAuthenticators & getExternalAuthenticators() const; private: + void addStorage(const StoragePtr & new_storage); + class ContextAccessCache; class CustomSettingsPrefixes;