forked from BinChengZhao/delicate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rbac_policy.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 3 columns, instead of 4 in line 1.
executable file
·78 lines (59 loc) · 2.03 KB
/
rbac_policy.csv
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
# Note: casbin-Vulnerability if A has role B, B has role C, then A has role C. This transitivity is infinite for now.
p, developer, task, create
p, developer, task, list
p, developer, task, update
p, developer, task, run
# developer can't delete task and suspend task .
p, task_admin, task, advance
p, task_admin, task, list
p, task_admin, task, update
p, task_admin, task, delete
p, task_admin, task, run
p, task_admin, task, create
p, task_admin, task, suspend
p, task_admin, task_instance, kill
p, task_admin, task_log, delete
p, task_admin, task_log, list
p, task_admin, task_log, detail
p, processor_admin, executor_processor, activate
p, processor_admin, executor_processor, update
p, processor_admin, executor_processor, delete
p, processor_admin, executor_processor, list
p, processor_admin, executor_processor, create
p, group_admin, executor_group, update
p, group_admin, executor_group, delete
p, group_admin, executor_group, list
p, group_admin, executor_group, create
p, group_admin, executor_group, detail
p, group_admin, executor_processor_bind, create
p, group_admin, executor_processor_bind, update
p, group_admin, executor_processor_bind, list
p, group_admin, executor_processor_bind, delete
p, user_admin, user, delete
p, user_admin, user, update
p, user_admin, user, create
p, user_admin, user, list
p, user_admin, user, append_role
p, user_admin, user, delete_role
p, user_admin, user, append_permission
p, user_admin, user, delete_permission
p, user_admin, user, roles
p, user_admin, user, permissions
p, user_admin, permission, list
p, user_admin, role, list
p, user_admin, role, permission_detail
p, user_admin, role, users
p, log_admin, user_login_log, list
p, log_admin, operation_log, list
p, log_admin, operation_log, detail
# User Role Definition Area
# g, username, task_admin
g, bincheng, team_leader
g, bincheng-tester, developer
g, team_leader, task_admin
g, team_leader, processor_admin
g, team_leader, group_admin
g, team_leader, user_admin
g, team_leader, log_admin
g, developer, processor_admin
g, developer, log_admin