Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
effb84be
Commit
effb84be
authored
Jan 23, 2019
by
antirez
Browse files
ACL: specify better the +
@all
semantics in comments.
parent
b270322f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/acl.c
View file @
effb84be
...
@@ -195,13 +195,16 @@ void ACLResetSubcommandsForCommand(user *u, unsigned long id) {
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment