mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
ACL: add command fingerprint for CAT subcommand.
This commit is contained in:
parent
d453936b52
commit
3df1eb85ca
@ -1268,7 +1268,9 @@ void ACLLoadUsersAtStartup(void) {
|
|||||||
/* ACL -- show and modify the configuration of ACL users.
|
/* ACL -- show and modify the configuration of ACL users.
|
||||||
* ACL HELP
|
* ACL HELP
|
||||||
* ACL LIST
|
* ACL LIST
|
||||||
* ACL SETUSER <username> ... user attribs ...
|
* ACL USERS
|
||||||
|
* ACL CAT [<category>]
|
||||||
|
* ACL SETUSER <username> ... acl rules ...
|
||||||
* ACL DELUSER <username>
|
* ACL DELUSER <username>
|
||||||
* ACL GETUSER <username>
|
* ACL GETUSER <username>
|
||||||
*/
|
*/
|
||||||
@ -1429,6 +1431,8 @@ void aclCommand(client *c) {
|
|||||||
"SETUSER <username> [attribs ...] -- Create or modify a user.",
|
"SETUSER <username> [attribs ...] -- Create or modify a user.",
|
||||||
"GETUSER <username> -- Get the user details.",
|
"GETUSER <username> -- Get the user details.",
|
||||||
"DELUSER <username> -- Delete a user.",
|
"DELUSER <username> -- Delete a user.",
|
||||||
|
"CAT -- List available categories.",
|
||||||
|
"CAT <category> -- List commands inside category.",
|
||||||
"WHOAMI -- Return the current connection username.",
|
"WHOAMI -- Return the current connection username.",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user