Skip to content

Commit a6aa43f

Browse files
committed
[Security] Remove is_anonymous expesssion language function
1 parent bf50adc commit a6aa43f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ transition. The value of this option is any valid expression created with the
818818
from: draft
819819
to: reviewed
820820
publish:
821-
# or "is_anonymous", "is_remember_me", "is_fully_authenticated", "is_granted", "is_valid"
821+
# or "is_remember_me", "is_fully_authenticated", "is_granted", "is_valid"
822822
guard: "is_authenticated"
823823
from: reviewed
824824
to: published
@@ -853,7 +853,7 @@ transition. The value of this option is any valid expression created with the
853853
</framework:transition>
854854
855855
<framework:transition name="publish">
856-
<!-- or "is_anonymous", "is_remember_me", "is_fully_authenticated", "is_granted" -->
856+
<!-- or "is_remember_me", "is_fully_authenticated", "is_granted" -->
857857
<framework:guard>is_authenticated</framework:guard>
858858
<framework:from>reviewed</framework:from>
859859
<framework:to>published</framework:to>
@@ -889,7 +889,7 @@ transition. The value of this option is any valid expression created with the
889889
890890
$blogPublishing->transition()
891891
->name('publish')
892-
// or "is_anonymous", "is_remember_me", "is_fully_authenticated", "is_granted"
892+
// or "is_remember_me", "is_fully_authenticated", "is_granted"
893893
->guard('is_authenticated')
894894
->from(['reviewed'])
895895
->to(['published']);

0 commit comments

Comments
 (0)