mirror of
https://github.com/strapi/strapi.git
synced 2025-12-08 21:39:46 +00:00
Update policies documentation to include link to GraphQL doc
This commit is contained in:
parent
4f39e56152
commit
fadaa64518
@ -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.
|
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
|
### Global policies
|
||||||
|
|
||||||
The global policies can be associated to any routes in your project.
|
The global policies can be associated to any routes in your project.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user