aboutsummaryrefslogtreecommitdiffstats
path: root/compose/config/opa-pdp/data/action/data.json
blob: 99145b74aeabbecbe4d6a770016842d34f4e5214 (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
35
36
37
38
39
40
41
42
43
{
    "user_roles": {
        "alice": [
            "admin"
        ],
        "bob": [
            "editor"
        ],
        "charlie": [
            "viewer"
        ]
    },
    "role_permissions": {
        "admin": {
            "actions": [
                "read",
                "write",
                "delete"
            ],
            "resources": [
                "server",
                "database"
            ]
        },
        "editor": {
            "actions": [
                "read",
                "write"
            ],
            "resources": [
                "server"
            ]
        },
        "viewer": {
            "actions": [
                "read"
            ],
            "resources": [
                "server"
            ]
        }
    }
}