Skip to content

Commit 4ee15bd

Browse files
authored
Use expression annotations in @restrict (#348)
Reintroduced #328 as issues with native images are resolved.
1 parent 38b907a commit 4ee15bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srv/review-service.cds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ service ReviewService {
1818
{
1919
grant : '*',
2020
to : 'authenticated-user',
21-
where : 'createdBy=$user'
21+
where : (createdBy=$user)
2222
},
2323
{
2424
grant : '*',

0 commit comments

Comments
 (0)