Skip to content

Commit

Permalink
Add final paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamison Bryant committed Nov 10, 2023
1 parent 1301b28 commit de525c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/en/policies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ on scopes you need to implement the ``BeforeScopeInterface`` in your scope polic
}
}

Before scope hooks are expected to return the modified resource object, or if
``null`` is returned then the scope method will be invoked as normal.

Applying Policies
-----------------
See :ref:`applying-policy-scopes` for how to apply policies in your controller actions.

0 comments on commit de525c1

Please sign in to comment.