Skip to content

Commit

Permalink
fix: update app rules;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Aug 2, 2021
1 parent 4b80766 commit 4167cab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/devops-server/init/policies/app-user.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"users": {
"read": "query._id === $uid",
"update": "query._id === $uid",
"add": "data.created_by === $uid",
"read": "query._id === uid",
"update": "query._id === uid",
"add": "data.created_by === uid",
"count": "true"
},
"categories": {
"read": true,
"count": "true"
},
"articles": {
"read": "query._id === $uid",
"update": "query._id === $uid",
"add": "data.created_by === $uid",
"remove": "query._id === $uid",
"read": "query._id === uid",
"update": "query._id === uid",
"add": "data.created_by === uid",
"remove": "query._id === uid",
"count": "true"
}
}

0 comments on commit 4167cab

Please sign in to comment.