summaryrefslogtreecommitdiffstats
path: root/src/commands/acl-getuser.json
blob: b87c7f6d493614e766ef6ee87fddc918e55d887f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
    "GETUSER": {
        "summary": "Get the rules for a specific ACL user",
        "complexity": "O(N). Where N is the number of password, command and pattern rules that the user has.",
        "group": "server",
        "since": "6.0.0",
        "arity": 3,
        "container": "ACL",
        "function": "aclCommand",
        "history": [
            [
                "6.2.0",
                "Added Pub/Sub channel patterns."
            ],
            [
                "7.0.0",
                "Added selectors and changed the format of key and channel patterns from a list to their rule representation."
            ]
        ],
        "command_flags": [
            "ADMIN",
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "arguments": [
            {
                "name": "username",
                "type": "string"
            }
        ]
    }
}