Skip to content

Commit

Permalink
Revert "Revert "Use expression annotations in @restrict" (#347)"
Browse files Browse the repository at this point in the history
This reverts commit a516fba.
  • Loading branch information
beckermarc authored Jul 22, 2024
1 parent a516fba commit 9340ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srv/review-service.cds
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ service ReviewService {
{
grant : '*',
to : 'authenticated-user',
where : 'createdBy=$user'
where : (createdBy=$user)
},
{
grant : '*',
Expand Down

0 comments on commit 9340ff0

Please sign in to comment.