mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
fix(acl/admin_port): skip acl validation on admin port (#1997)
* skip all acl related functionality on admin port
This commit is contained in:
parent
6e76f8e6cc
commit
cbba6f4e11
10 changed files with 54 additions and 18 deletions
|
@ -2369,6 +2369,7 @@ void RdbLoader::LoadSearchIndexDefFromAux(string&& def) {
|
|||
facade::CapturingReplyBuilder crb{};
|
||||
ConnectionContext cntx{nullptr, nullptr, &crb};
|
||||
cntx.journal_emulated = true;
|
||||
cntx.skip_acl_validation = true;
|
||||
|
||||
absl::Cleanup cntx_clean = [&cntx] { cntx.Inject(nullptr); };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue