From effb84be176b3b8300b5b1498fc6c86ee7f60a71 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 23 Jan 2019 11:05:54 +0100 Subject: [PATCH] ACL: specify better the +@all semantics in comments. --- src/acl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/acl.c b/src/acl.c index b2bc23fd..bf7814e3 100644 --- a/src/acl.c +++ b/src/acl.c @@ -195,13 +195,16 @@ void ACLResetSubcommandsForCommand(user *u, unsigned long id) { * @stream, @admin, @readonly, * @readwrite, @fast, @slow, * @pubsub. - * The special category @all means all the commands. + * The special category @all means all the commands, but currently + * present in the server, and that will be loaded in the future + * via modules. * +|subcommand Allow a specific subcommand of an otherwise * disabled command. Note that this form is not * allowed as negative like -DEBUG|SEGFAULT, but * only additive starting with "+". - * allcommands Alias for +@all - * nocommands Alias for -@all + * allcommands Alias for +@all. Note that it implies the ability to execute + * all the future commands loaded via the modules system. + * nocommands Alias for -@all. * ~ Add a pattern of keys that can be mentioned as part of * commands. For instance ~* allows all the keys. The pattern * is a glob-style pattern like the one of KEYS.