refactor: acl helpers and global tables (#3309)

* remove helper.h and helper.cc and move them to AclFamily class
* remove global tables from acl_commands_def and move them to AclFamily

Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2024-07-15 15:41:13 +03:00 committed by GitHub
parent 35ef143200
commit e1b03d605c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 569 additions and 572 deletions

View file

@ -125,7 +125,7 @@ class Service : public facade::ServiceInterface {
// Utility function used in unit tests
// Do not use in production, only meant to be used by unit tests
void TestInit();
const acl::AclFamily* TestInit();
private:
static void Quit(CmdArgList args, ConnectionContext* cntx);