| 333 | } |
| 334 | |
| 335 | void AccessControl::addUsersConfigStorage(const String & storage_name_, const Poco::Util::AbstractConfiguration & users_config_, bool allow_backup_) |
| 336 | { |
| 337 | auto new_storage = std::make_shared<UsersConfigAccessStorage>(storage_name_, *this, allow_backup_); |
| 338 | new_storage->setConfig(users_config_); |
| 339 | addStorage(new_storage); |
| 340 | LOG_DEBUG(getLogger(), "Added {} access storage '{}', path: {}", |
| 341 | String(new_storage->getStorageType()), new_storage->getStorageName(), new_storage->getPath()); |
| 342 | } |
| 343 | |
| 344 | void AccessControl::addUsersConfigStorage( |
| 345 | const String & storage_name_, |
nothing calls this directly
no test coverage detected