From 2263d6e173c1c3566d5384e5d69ea01b9a06266a Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 21 Jan 2019 17:09:58 +0100 Subject: [PATCH] ACL: specify better the command denied error. --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index fd4d9adb..a91ea24e 100644 --- a/src/server.c +++ b/src/server.c @@ -2603,7 +2603,7 @@ int processCommand(client *c) { if (acl_retval == ACL_DENIED_CMD) addReplyErrorFormat(c, "-NOPERM this user has no permissions to run " - "the '%s' command", c->cmd->name); + "the '%s' command or its subcommnad", c->cmd->name); else addReplyErrorFormat(c, "-NOPERM this user has no permissions to access "