Retrict some query and mutation to only session
Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
schema:
|
||||
- "graphql/*.graphql"
|
||||
- "../../../gqlutils/directives/authentication/schema.graphql"
|
||||
- "../../../gqlutils/directives/session/schema.graphql"
|
||||
|
||||
exec:
|
||||
@@ -22,7 +23,9 @@ call_argument_directives_with_null: true
|
||||
directives:
|
||||
mustBeAuthorized:
|
||||
skip_runtime: false
|
||||
session:
|
||||
authentication:
|
||||
skip_runtime: false
|
||||
sessionOnly:
|
||||
skip_runtime: false
|
||||
|
||||
models:
|
||||
|
||||
Reference in New Issue
Block a user