Files
Alex Hall d70ed2ef76 chore: Add new OAuth scopes for analytics config to studio (#44826)
## Summary

Adds support for new OAuth scopes for reading and writing analytics
config to the app creation dialog and consent screen.

Depends on https://github.com/supabase/platform/pull/31539
2026-04-15 15:59:43 -04:00

17 lines
879 B
TypeScript

export const PERMISSIONS_DESCRIPTIONS = {
ANALYTICS: 'access to analytics logs.',
ANALYTICS_CONFIG: 'access to analytics logs configurations.',
AUTH: 'access to auth configurations and SSO providers.',
DATABASE:
'access to Postgres configurations, SQL snippets, SSL enforcement configurations and Typescript schema types.',
DOMAINS: 'access to custom domains and vanity subdomains.',
EDGE_FUNCTIONS: 'access to edge functions.',
ENVIRONMENT: 'access to environments/branches.',
ORGANIZATIONS: 'access to the organization and all its members.',
PROJECTS:
"access to creation and deletion of projects, each project's metadata, upgrade status, network restrictions and network bans.",
REST: 'access to PostgREST configurations.',
SECRETS: 'access to API keys, secrets and pgsodium configurations.',
STORAGE: 'access to storage buckets and files.',
}