Commit Graph
2 Commits
Author SHA1 Message Date
Danny White daef6f6e8d fix(studio): align scoped token permission controls (#54164)
## Problem

The scoped token editor uses different access labels from OAuth. Its
permission descriptions are smaller, and the accordion headers can cut
across the rounded corners.

## Solution

Use **No access**, **Read only**, and **Read and write** in the scoped
token editor. Each permission keeps its existing access levels. Make
descriptions easier to read, keep space around badges, and align
selectors in a column on wider screens. Use the same colour for borders
and dividers, and round the outside edges of the permission list and
capability cards.

Use sentence case for permission names in the picker and matching
documentation.

| Before | After |
| --- | --- |
| <img width="767" height="536" alt="CleanShot 2026-11-27 at 11 53 58"
src="https://github.com/user-attachments/assets/f2c36703-9383-49cb-89f0-86f3da0de10c"
/> | <img width="765" height="549" alt="CleanShot 2026-11-27 at 11 53
18"
src="https://github.com/user-attachments/assets/c5abe728-47c9-4594-9787-aff2bc54efec"
/> |

## Review instructions

1. With scoped tokens enabled, open **Account → Access Tokens** and
click **Generate new token**.
2. Choose a resource and expand a permission group. Check the available
access levels, the spacing around badges, and the selector alignment at
desktop and narrow widths.
3. Expand and collapse the first and last permission groups. Open a
scoped token’s details and check the capability card corners.
2026-11-30 16:18:31 +11:00
Illia Basalaiev 1eb8684d60 docs: rewrite the project transfers guide (#53540)
## Problem

Rewrite apps/docs/content/guides/platform/project-transfer.mdx so
readers can answer their own transfer questions. Support sees a steady
stream of tickets on project transfers, and most of the questions aren’t
answered by the current page.
Preview:
https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer

## Solution

The guide is seven pages. The four task pages follow the [how-to guide
template](https://github.com/supabase/supabase/blob/master/apps/docs/style-guide/templates/how-to-guide.md),
applied the way #53650 applies it. The other three have no template yet,
so they follow the document types in `03-page-structure.md`.

<img width="275" height="239" alt="CleanShot 2026-11-20 at 14 32 51"
src="https://github.com/user-attachments/assets/bdbf7d39-df13-4418-a5c3-32a4ae1b9e3d"
/>

| Page | Type | What it holds |
| ------------------------------------------------ | --------------- |
---------------------------------------------------------------------------------------------------
|
| `project-transfer.mdx` | How-to | Transfer a project with the
Dashboard or the Management API, then verify it |
| `project-transfer/transfer-ownership.mdx` | How-to | Move a project to
another person's organization, or hand over the whole organization |
| `project-transfer/vercel-marketplace.mdx` | How-to | Move projects out
of an organization managed through the Vercel Marketplace |
| `project-transfer/pause-project.mdx` | How-to | Pause a project from
the Pro Plan or Team Plan by transferring it to a Free Plan organization
first |
| `project-transfer/requirements.mdx` | Reference | Every check a
transfer runs, what blocks it, and partner-managed projects |
| `project-transfer/what-changes.mdx` | Explainer | What stays the same,
downtime, billing, access and tokens, notifications, what the Free Plan
removes |
| `project-transfer/troubleshooting.mdx` | Troubleshooting | Each
Dashboard and API message with its cause and fix |


Corrections to existing claims (downtime, log drains, target
organization role, free project limit).

New content
- Requirements checklist, including SSO accounts, usage restrictions
between Free Plan organizations, and overdue invoices
- Dashboard steps and a Management API path
(/v2/projects/{ref}/transfers and /previews)
- What stays the same (data, ref, URL, keys, connection strings) and
when apps need an update
- Downtime per direction, billing, access tokens, timing, notifications,
and audit log
- What a move to the Free Plan removes, and how to pause a project from
the Pro Plan or above
- Handing a project or an organization to another person, lost access to
the Owner account
- Vercel Marketplace, AWS Marketplace, Stripe Projects, and a pointer
for Lovable backends
- Troubleshooting tables that quote each Dashboard message with its
cause and fix
- New updated screenshots

The six pages under `project-transfer/` are new, so they have no live
version.

| Site | Live | Preview | Search for |
| ---- |
--------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------------- |
| Docs | [Project
Transfers](https://supabase.com/docs/guides/platform/project-transfer) |
[Transfer a
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer)
| `Transfer a project` |
| Docs | Not on `master` | [Project transfer
requirements](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/requirements)
| `Account requirements` |
| Docs | Not on `master` | [Changes after a project
transfer](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/what-changes)
| `What stays the same` |
| Docs | Not on `master` | [Transfer project
ownership](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/transfer-ownership)
| `Hand over the whole organization` |
| Docs | Not on `master` | [Transfer a Vercel-managed
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/vercel-marketplace)
| `Vercel-managed organization` |
| Docs | Not on `master` | [Pause a Pro or Team Plan
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/pause-project)
| `Pause the project` |
| Docs | Not on `master` | [Troubleshoot a project
transfer](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/troubleshooting)
| `Role and membership messages` |


## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

**Note:** The changes were made based on all support tickets related to
project transfers; all statements were cross-checked in the code and
tested on a hosted project.

1. Please check if the structure of the pages meets docs standards. 
2. Please confirm "Project transfers" is a valid title; let me know if
it should be capitalized.
3. Please confirm if the table with error messages fits into this
documentation under troubleshooting
([preview](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer?queryGroups=method&method=dashboard#troubleshooting)).
Done this way so that customers can find the full message in the search.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-20 18:12:15 +01:00