Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Mar 25, 2024
1 parent e518d39 commit 2d1ffee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/tests/regression/issues.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ model User {
// can be created by anyone, even not logged in
@@allow('create', true)
// can be read by users in the same organization
@@allow('read', orgs?[members?[auth() == this]])
@@allow('read', orgs?[members?[auth().id == id]])
// full access by oneself
@@allow('all', auth() == this)
}
Expand Down

0 comments on commit 2d1ffee

Please sign in to comment.