Repository navigation
chore(studio): remove scoped pat orphaned form - #48803
Conversation
Scoped/Form/Permissions/, Scoped/Form/ResourceAccess/, and AccessToken.schemas.ts (+ test) belonged to the superseded scoped-form design and had no live importers; the schemas file also still encoded the removed non-expiring token semantics. PERMISSION_LIST / ACCESS_TOKEN_RESOURCES stay: AccessTokenNewBanner still consumes them via useGroupedPermissions.
BasicInfo.tsx belonged to the same superseded scoped-form design and was the last remaining importer of the deleted AccessToken.schemas. It has no importers of its own, and still rendered the removed non-expiring token warning via NON_EXPIRING_TOKEN_VALUE. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
📝 WalkthroughWalkthroughThe change removes the scoped access-token form implementation. It deletes validation schemas, basic information fields, permission and resource-access controls, supporting types and utilities, and their tests. Changes
Estimated code review effort: 3 (Moderate) | ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Test Results (next)Details
Flaky testsFeatures › queue-table-operations.spec.ts › Queue Table Operations › pending changes persist when switching between tables Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
## 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? First step in breaking down #48635 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Removed the scoped access-token form, including token details, expiration settings, resource access, and permission configuration. * Removed resource and permission selection controls from the access-token workflow. * **Tests** * Removed automated coverage for access-token validation, permission handling, expiration logic, and resource selection. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Wen Bo Xie <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
I have read the CONTRIBUTING.md file.
YES
What kind of change does this PR introduce?
First step in breaking down #48635
Summary by CodeRabbit
Refactor
Tests