File tree 1 file changed +6
-3
lines changed
packages/devops-server/src/router
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ export default {
3
3
"read" : "$has('admin.read')" ,
4
4
"update" : "$has('admin.edit')" ,
5
5
"add" : "$has('admin.create')" ,
6
- "remove" : "$has('admin.delete')"
6
+ "remove" : "$has('admin.delete')" ,
7
+ "count" : "$has('admin.read')"
7
8
} ,
8
9
"__permissions" : {
9
10
"read" : "$has('permission.read')" ,
@@ -21,13 +22,15 @@ export default {
21
22
"notExists" : "/__admins/roles"
22
23
}
23
24
}
24
- }
25
+ } ,
26
+ "count" : "$has('role.read')"
25
27
} ,
26
28
"__policies" : {
27
29
"read" : "$has('policy.read')" ,
28
30
"update" : "$has('policy.edit')" ,
29
31
"add" : "$has('policy.create')" ,
30
- "remove" : "$has('policy.delete')"
32
+ "remove" : "$has('policy.delete')" ,
33
+ "count" : "$has('policy.read')"
31
34
} ,
32
35
"__functions" : {
33
36
"read" : "$has('function.read')" ,
You can’t perform that action at this time.
0 commit comments