Update policies documentation to include link to GraphQL doc

This commit is contained in:
Derrick Mehaffy 2020-01-04 11:26:14 -07:00
parent 4f39e56152
commit fadaa64518
No known key found for this signature in database
GPG Key ID: EBBE044F6A1A393D

View File

@ -56,6 +56,10 @@ You can access to any controllers, services or models thanks to the global varia
To apply policies to a route, you need to associate an array of policies to it. There are two kinds of policies: global or scoped.
::: warning
To apply policies with GraphQL please see the [following guide](../plugins/graphql.md#execute-a-policy-before-a-resolver)
:::
### Global policies
The global policies can be associated to any routes in your project.