Skip to content

Commit 17ff707

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Fix broken example
2 parents 48f14c8 + 42dc32c commit 17ff707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ transition. The value of this option is any valid expression created with the
499499
to: published
500500
reject:
501501
# or any valid expression language with "subject" referring to the supported object
502-
guard: "has_role('ROLE_ADMIN') and subject.isRejectable()"
502+
guard: "is_granted('ROLE_ADMIN') and subject.isRejectable()"
503503
from: reviewed
504504
to: rejected
505505

0 commit comments

Comments
 (0)