ACL LOG: data structures and initial functions.

This commit is contained in:
antirez
2020-02-12 14:15:35 +01:00
parent f7a94526dd
commit 577fc4388b
5 changed files with 54 additions and 5 deletions
+1 -1
View File
@@ -606,7 +606,7 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
}
/* Check the ACLs. */
int acl_retval = ACLCheckCommandPerm(c);
int acl_retval = ACLCheckCommandPerm(c,NULL);
if (acl_retval != ACL_OK) {
if (acl_retval == ACL_DENIED_CMD)
luaPushError(lua, "The user executing the script can't run this "