We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48f14c8 + 42dc32c commit 17ff707Copy full SHA for 17ff707
workflow.rst
@@ -499,7 +499,7 @@ transition. The value of this option is any valid expression created with the
499
to: published
500
reject:
501
# or any valid expression language with "subject" referring to the supported object
502
- guard: "has_role('ROLE_ADMIN') and subject.isRejectable()"
+ guard: "is_granted('ROLE_ADMIN') and subject.isRejectable()"
503
from: reviewed
504
to: rejected
505
0 commit comments