Skip to content

Commit

Permalink
fix: update sys rules;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Aug 3, 2021
1 parent 270f766 commit a3f4a9a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/devops-server/src/router/sys_rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ export default {
"read": "$has('admin.read')",
"update": "$has('admin.edit')",
"add": "$has('admin.create')",
"remove": "$has('admin.delete')"
"remove": "$has('admin.delete')",
"count": "$has('admin.read')"
},
"__permissions": {
"read": "$has('permission.read')",
Expand All @@ -21,13 +22,15 @@ export default {
"notExists": "/__admins/roles"
}
}
}
},
"count": "$has('role.read')"
},
"__policies": {
"read": "$has('policy.read')",
"update": "$has('policy.edit')",
"add": "$has('policy.create')",
"remove": "$has('policy.delete')"
"remove": "$has('policy.delete')",
"count": "$has('policy.read')"
},
"__functions": {
"read": "$has('function.read')",
Expand Down

0 comments on commit a3f4a9a

Please sign in to comment.