summaryrefslogtreecommitdiffstats
path: root/src/commands/role.json
blob: 4d470e3508af30139e2d3bce33cd52e34d072a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "ROLE": {
        "summary": "Return the role of the instance in the context of replication",
        "complexity": "O(1)",
        "group": "server",
        "since": "2.8.12",
        "arity": 1,
        "function": "roleCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "FAST",
            "SENTINEL"
        ],
        "acl_categories": [
            "ADMIN",
            "DANGEROUS"
        ]
    }
}