mirror of
https://github.com/strapi/strapi.git
synced 2025-08-18 05:37:10 +00:00
Merge pull request #4896 from strapi/docs/policyGraphQL
Update policies documentation to include link to GraphQL doc
This commit is contained in:
commit
6e34ae4b57
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user