Skip to content

docs(fga): fine-grained authorization reference and v2.3.0 changes#63

Open
lakhansamani wants to merge 8 commits into
mainfrom
docs/fga-v2.3.0
Open

docs(fga): fine-grained authorization reference and v2.3.0 changes#63
lakhansamani wants to merge 8 commits into
mainfrom
docs/fga-v2.3.0

Conversation

@lakhansamani
Copy link
Copy Markdown
Contributor

Summary

Documents the fine-grained authorization (FGA) feature shipped in authorizerdev/authorizer PR #607.

  • New core page docs/core/authorization.md covering the model (Resources / Scopes / Policies / Permissions), per-call required_permissions adoption, admin GraphQL mutations, my_permissions query, decision strategies, principal types, observability, caching, and a rollout checklist.
  • docs/core/graphql-api.md — adds the new required_permissions field to the request-param tables for session, validate_jwt_token, and validate_session (plus refreshed sample queries), the new my_permissions query, and an Admin Authorization mutations subsection covering _add_resource / _add_scope / _add_policy / _add_permission (+ list / update / delete for each).
  • docs/core/metrics-monitoring.md — new Authorization Metrics table covering authorizer_required_permissions_checks_total{endpoint, outcome}, the relabelled authorizer_authz_checks_total{result}, and the now-labelless authorizer_authz_unmatched_total. Adds a PromQL adoption query and an alerting rule for outcome="error".
  • docs/core/server-config.md — documents --authorization-cache-ttl, --include-permissions-in-token, and --authorization-log-all-checks. States the always-enforcing posture explicitly. No deprecation copy for --authorization-enforcement since that flag never shipped.
  • docs/core/security.md — short cross-link to the new authorization page explaining the always-enforcing default.
  • docs/migration/v1-to-v2.md — adds an "Authorization (FGA)" section framing FGA as a v2 feature (not a migration) with an adoption checklist.
  • sidebars.ts — registers core/authorization in the Core category between security and databases.

Pairs with

Build status

npm run build — clean. Pre-existing broken links in core/sso-guide are not from this PR.

Test plan

  • npm run build clean (only pre-existing sso-guide broken links).
  • All new cross-links resolve (./authorization#..., ./metrics-monitoring#authorization-metrics, ../migration/v1-to-v2).
  • Local dev server smoke (npm start) — eyeball the new page renders + sidebar entry.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for authorizerdev-docs ready!

Name Link
🔨 Latest commit 441cec3
🔍 Latest deploy log https://app.netlify.com/projects/authorizerdev-docs/deploys/6a0d5e77ddaa7900083dce18
😎 Deploy Preview https://deploy-preview-63--authorizerdev-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant