docs(scope-auth): make authorization examples consistent and current - #1718
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@pothos/core
@pothos/plugin-add-graphql
@pothos/plugin-complexity
@pothos/plugin-dataloader
@pothos/plugin-directives
@pothos/plugin-drizzle
@pothos/plugin-errors
@pothos/plugin-example
@pothos/plugin-federation
@pothos/plugin-grafast
@pothos/plugin-mocks
@pothos/plugin-prisma
@pothos/plugin-prisma-utils
@pothos/plugin-relay
@pothos/plugin-scope-auth
@pothos/plugin-simple-objects
@pothos/plugin-smart-subscriptions
@pothos/plugin-sub-graph
@pothos/plugin-tracing
@pothos/plugin-validation
@pothos/plugin-with-input
@pothos/plugin-zod
@pothos/tracing-newrelic
@pothos/tracing-opentelemetry
@pothos/tracing-sentry
@pothos/tracing-xray
commit: |
d9f1914 to
77b6d1a
Compare
|
Deployment failed for project pothos with the following error: Learn More: https://vercel.com/michael-hayes-projects?upgradeToPro=build-rate-limit |
573084a to
ea9500f
Compare
77b6d1a to
78ee9a7
Compare
Use current scopeAuth configuration and a consistent article/context example throughout the authorization guide. Clarify allow/deny behavior, distinct permissions, structured scope cache keys, grants, and request isolation; remove stale option names and vague example terminology. Synchronize the README.
Validation: every displayed TypeScript block strict-typechecks with its documented setup. Current-source execution checks allowed and denied requests, cached checks, request isolation, and that denied resolvers do not run. All 108 Scope Auth package tests pass under Node 24. Final website build and rendered documentation links/anchors pass.
Separate post-publication editorial and correctness reviews are complete; material findings were addressed.
Preservation re-review against original base
7c0a5490: Restored eager/deferred asynchronous permission setup and withAuth().prismaField() with refined context and current Prisma configuration. Both additions strict-check and passed an independent re-review. All earlier authorization, caching, and scope-composition coverage is accounted for.All useful omissions identified by the new review were fixed and independently re-reviewed. The final integrated production website build, executable documentation checks, and links/anchors across 77 rendered pages pass. Dependency-install fences use
package-installthroughout the changed website pages and READMEs.