-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_policy.json
110 lines (110 loc) · 2.58 KB
/
example_policy.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"actions": [
"action_1",
"action_2",
"action_3",
"action_4",
"action_5",
"action_6"
],
"operations": [
"operation_1",
"operation_2",
"operation_3",
"operation_4",
"operation_5",
"operation_6",
"operation_7",
"operation_8",
"operation_9",
"operation_10",
"operation_11",
"operation_12"
],
"action_to_operations": [
{
"action_name": "action_1",
"operations": [
"operation_1",
"operation_10",
"operation_12"
]
},
{
"action_name": "action_3",
"operations": [
"operation_3",
"operation_4",
"operation_5"
]
},
{
"action_name": "action_4",
"operations": [
"operation_8",
"operation_9"
]
},
{
"action_name": "action_5",
"operations": [
"operation_1",
"operation_3",
"operation_12",
"operation_5",
"operation_4"
]
},
{
"action_name": "action_6",
"operations": [
"operation_3"
]
}
],
"action_policies": [
{
"action_name": "action_1",
"policies": [
{
"group": "users"
}],
"action_timeout": 60
},
{
"action_name": "action_2",
"policies": [
{
"role_in_project": {
"role": "user",
"project": "5ginfire"
}
}],
"action_timeout": 60
},
{
"action_name": "action_3",
"policies": [
{
"role_in_project": {
"role": "user",
"project": "5ginfire"
},
"group": "users"
}],
"action_timeout": 60
},
{
"action_name": "action_4",
"policies": [
{
"role_in_project": {
"role": "user",
"project": "5ginfire"
},
"group": "admin"
}],
"action_timeout": 60
}
]
}