Retrict some query and mutation to only session

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-06-02 17:43:00 -07:00
parent 9c4b6aff18
commit 383ea5a2d4
25 changed files with 268 additions and 190 deletions

View File

@@ -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: