ACL LOG: data structures and initial functions.

This commit is contained in:
antirez
2020-01-27 18:37:52 +01:00
parent f7a94526dd
commit 577fc4388b
5 changed files with 54 additions and 5 deletions

View File

@ -3377,7 +3377,7 @@ int processCommand(client *c) {
/* Check if the user can run this command according to the current
* ACLs. */
int acl_retval = ACLCheckCommandPerm(c);
int acl_retval = ACLCheckCommandPerm(c,NULL);
if (acl_retval != ACL_OK) {
flagTransaction(c);
if (acl_retval == ACL_DENIED_CMD)