mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Show required FGA permissions for each route in the management API docs. Permissions are pulled from the `fga_permissions` security field in the OpenAPI spec. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * API reference docs now extract and display fine-grained access-control permissions per endpoint. When present, a dedicated block lists required permissions with a clear header explaining the token requirements. * The permissions block appears alongside existing OAuth scope information and only shows for endpoints that declare such permissions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>