Commit 2263d6e1 authored by antirez's avatar antirez
Browse files

ACL: specify better the command denied error.

parent 53321c3c
...@@ -2603,7 +2603,7 @@ int processCommand(client *c) { ...@@ -2603,7 +2603,7 @@ int processCommand(client *c) {
if (acl_retval == ACL_DENIED_CMD) if (acl_retval == ACL_DENIED_CMD)
addReplyErrorFormat(c, addReplyErrorFormat(c,
"-NOPERM this user has no permissions to run " "-NOPERM this user has no permissions to run "
"the '%s' command", c->cmd->name); "the '%s' command or its subcommnad", c->cmd->name);
else else
addReplyErrorFormat(c, addReplyErrorFormat(c,
"-NOPERM this user has no permissions to access " "-NOPERM this user has no permissions to access "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment