diff --git a/README.md b/README.md index c7ef70c..5397dc0 100644 --- a/README.md +++ b/README.md @@ -96,5 +96,5 @@ permissions: ADMIN: 'user.isAdmin()' EDIT_POST: supports: 'instanceof(user, user_class) and instanceof(subject, post_class)' - on_vote: 'user.isAdmin() and post.getAuthor().getId() === user.getId()' + on_vote: 'user.isAdmin() and subject.getAuthor().getId() === user.getId()' ```