aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/examples/moon/policies/policy_rbac_admin/assignment.json
blob: e1c208df57fbff7dd7c0ccbdea2679ba85667492 (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
{
    "subject_assignments": {
        "role":{
            "admin": ["admin" ]
        }
    },

    "action_assignments": {
        "ie_action":{
            "read": ["ie_admin", "ie_access"],
            "write": ["ie_admin"],
            "create": ["ie_admin"],
            "delete": ["ie_admin"]
        }
    },

    "object_assignments": {
        "id": {
            "subjects": ["subjects"],
            "objects": ["objects"],
            "actions": ["actions"],
            "subject_categories": ["subject_categories"],
            "object_categories": ["object_categories"],
            "action_categories": ["action_categories"],
            "subject_category_scope": ["subject_category_scope"],
            "object_category_scope": ["object_category_scope"],
            "action_category_scope": ["action_category_scope"],
            "sub_rules": ["sub_rules"],
            "sub_meta_rule": ["sub_meta_rule"],
            "subject_assignments": ["subject_assignments"],
            "object_assignments": ["object_assignments"],
            "action_assignments": ["action_assignments"],
            "sub_meta_rule_relations": ["sub_meta_rule_relations"],
            "aggregation_algorithms": ["aggregation_algorithms"]
        }
    }
}