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
3df1eb85
Commit
3df1eb85
authored
Feb 08, 2019
by
antirez
Browse files
ACL: add command fingerprint for CAT subcommand.
parent
d453936b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
3df1eb85
...
...
@@ -1268,7 +1268,9 @@ void ACLLoadUsersAtStartup(void) {
/* ACL -- show and modify the configuration of ACL users.
* ACL HELP
* ACL LIST
* ACL SETUSER <username> ... user attribs ...
* ACL USERS
* ACL CAT [<category>]
* ACL SETUSER <username> ... acl rules ...
* ACL DELUSER <username>
* ACL GETUSER <username>
*/
...
...
@@ -1429,6 +1431,8 @@ void aclCommand(client *c) {
"SETUSER <username> [attribs ...] -- Create or modify a user."
,
"GETUSER <username> -- Get the user details."
,
"DELUSER <username> -- Delete a user."
,
"CAT -- List available categories."
,
"CAT <category> -- List commands inside category."
,
"WHOAMI -- Return the current connection username."
,
NULL
};
...
...
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