## Problem
The database access preview still uses “Temporary access” across its
settings and member rules.
## Solution
Use “Database token access” for the feature and “Member access” for
member rules. Update the preview, settings, dialogs, feedback, member
status messages and docs together. Move the guide to
`/guides/platform/token-access`, permanently redirect the old URL, and
preserve existing section anchors.
## Review instructions
1. Open [the Studio
preview](https://studio-staging-git-dnywh-database-token-access-naming-supabase.vercel.app),
then Feature previews and find **Database token access**. Enable the
preview for a supported project, then open [Database
Settings](https://studio-staging-git-dnywh-database-token-access-naming-supabase.vercel.app/project/_/database/settings).
2. Check the **Database token access** heading, **Allow token access**
switch and **Member access** table. Open **Add rule** and an existing
rule to check the sheet titles. Open a rule’s delete confirmation and
cancel it.
3. With an assigned role, check the access status above the member
table. As a member without management permission, check the access
notice uses the same feature name.
4. Open the [database token access guide in the docs
preview](https://docs-git-dnywh-database-token-access-naming-supabase.vercel.app/docs/guides/platform/token-access).
Check the guide and navigation use the new name, the dashboard
instructions match Studio, and the existing section links from the
member guide still work. Open `/docs/guides/platform/temporary-access`
and its `.md` variant to check they permanently redirect to the new
URLs.
| Before | After |
| --- | --- |
| <img width="726" height="367" alt="CleanShot 2026-11-30 at 16 06 00"
src="https://github.com/user-attachments/assets/be351f0c-d578-4289-8785-5c4e69a254a7"
/> | <img width="729" height="374" alt="CleanShot 2026-11-30 at 16 05
38"
src="https://github.com/user-attachments/assets/f02b470d-ef1a-4b6c-bdbb-20fe10b847c6"
/> |
## 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.
Closes DOCS-1498
## Problem
The Configure user access section of Temporary access is split out as a
part of the Information Architecture plan laid out in Option 1 of the
[Docs navigation architecture
proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61).
## Solution
- **Structure:** move `## Configure user access` to
`guides/platform/team-database-access`. Temporary access keeps the
heading and its anchor, with a one-sentence pointer. The page is in the
Platform sidebar after Temporary Access.
- **Option 1 navigation:** the "Map team members to Postgres roles"
entry in Run and manage, Team, points to the new page. The Option 1 test
no longer expects the anchor. Today's navigation uses the same label, at
34 characters.
- **Guide shape:** a value-statement opener with a short definition of a
role mapping, Prerequisites, then steps to authorize a team member and
to restrict their access. Each list has a lead-in.
- **Sample fixes:**
- The request sent the role list as `user_roles`. The Management API
requires `roles`.
- `expires_at` was in milliseconds. It takes Unix seconds, which the
Dashboard sends.
- A new step looks up the team member's user ID through the organization
members endpoint. The old sample used a placeholder with no way to find
the value.
### Not verified
- **Samples:** the Management API calls need a hosted project, so
`test-the-docs` can't run them. I ran them by hand against a hosted
project.
## Manual testing
1. Open [Map team members to Postgres
roles](https://docs-git-docs-team-database-access-supabase.vercel.app/docs/guides/platform/team-database-access).
See the prerequisites, the steps to authorize a team member, and the
restrictions.
2. Open [Temporary
access](https://docs-git-docs-team-database-access-supabase.vercel.app/docs/guides/platform/temporary-access#configure-user-access).
See the Configure user access heading with a one-sentence pointer to the
new page.
3. In the Platform sidebar, click **Map team members to Postgres
roles**. See the new page open.