feat(acl): add validation for acl keys (#2272)

* add validation for acl keys
* add tests
This commit is contained in:
Kostas Kyrimis 2023-12-08 17:28:53 +02:00 committed by GitHub
parent 8126cf8252
commit 2703d4635d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 154 additions and 29 deletions

View file

@ -58,7 +58,8 @@ class Service : public facade::ServiceInterface {
// Verify command can be executed now (check out of memory), always called immediately before
// execution
std::optional<facade::ErrorReply> VerifyCommandExecution(const CommandId* cid,
const ConnectionContext* cntx);
const ConnectionContext* cntx,
CmdArgList tail_args);
// Verify command prepares excution in correct state.
// It's usually called before command execution. Only for multi/exec transactions it's checked