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
c5e717c6
Commit
c5e717c6
authored
Jan 23, 2019
by
antirez
Browse files
ACL: command categories added to the command table.
parent
b8ff7389
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
c5e717c6
...
@@ -190,11 +190,9 @@ void ACLResetSubcommandsForCommand(user *u, unsigned long id) {
...
@@ -190,11 +190,9 @@ void ACLResetSubcommandsForCommand(user *u, unsigned long id) {
* +<command> Allow the execution of that command
* +<command> Allow the execution of that command
* -<command> Disallow the execution of that command
* -<command> Disallow the execution of that command
* +@<category> Allow the execution of all the commands in such category
* +@<category> Allow the execution of all the commands in such category
* with valid categories being @set, @sortedset, @list, @hash,
* with valid categories are like @admin, @set, @sortedset, ...
* @string, @bitmap, @hyperloglog,
* and so forth, see the full list in the server.c file where
* @stream, @admin, @readonly,
* the Redis command table is described and defined.
* @readwrite, @fast, @slow,
* @pubsub.
* The special category @all means all the commands, but currently
* The special category @all means all the commands, but currently
* present in the server, and that will be loaded in the future
* present in the server, and that will be loaded in the future
* via modules.
* via modules.
...
...
src/server.c
View file @
c5e717c6
This diff is collapsed.
Click to expand it.
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