mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
feat(acl): add validation for acl keys (#2272)
* add validation for acl keys * add tests
This commit is contained in:
parent
8126cf8252
commit
2703d4635d
11 changed files with 154 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue