ACL: specify better the +@all semantics in comments.

This commit is contained in:
antirez 2019-01-23 11:05:54 +01:00
parent b270322ff9
commit effb84be17

View File

@ -195,13 +195,16 @@ void ACLResetSubcommandsForCommand(user *u, unsigned long id) {
* @stream, @admin, @readonly, * @stream, @admin, @readonly,
* @readwrite, @fast, @slow, * @readwrite, @fast, @slow,
* @pubsub. * @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.
* +<command>|subcommand Allow a specific subcommand of an otherwise * +<command>|subcommand Allow a specific subcommand of an otherwise
* disabled command. Note that this form is not * disabled command. Note that this form is not
* allowed as negative like -DEBUG|SEGFAULT, but * allowed as negative like -DEBUG|SEGFAULT, but
* only additive starting with "+". * only additive starting with "+".
* allcommands Alias for +@all * allcommands Alias for +@all. Note that it implies the ability to execute
* nocommands Alias for -@all * all the future commands loaded via the modules system.
* nocommands Alias for -@all.
* ~<pattern> Add a pattern of keys that can be mentioned as part of * ~<pattern> Add a pattern of keys that can be mentioned as part of
* commands. For instance ~* allows all the keys. The pattern * commands. For instance ~* allows all the keys. The pattern
* is a glob-style pattern like the one of KEYS. * is a glob-style pattern like the one of KEYS.