Skip to content

Commit 6dee192

Browse files
committed
Merge branch '5.0'
* 5.0: Fix broken example
2 parents f713742 + 17ff707 commit 6dee192

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
@@ -510,7 +510,7 @@ transition. The value of this option is any valid expression created with the
510510
to: published
511511
reject:
512512
# or any valid expression language with "subject" referring to the supported object
513-
guard: "has_role('ROLE_ADMIN') and subject.isRejectable()"
513+
guard: "is_granted('ROLE_ADMIN') and subject.isRejectable()"
514514
from: reviewed
515515
to: rejected
516516

0 commit comments

Comments
 (0)