• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase / 41456733840
87%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2026 01:57PM UTC
Jobs 1
Files 185
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2026 01:52PM UTC coverage: 86.689%. Remained the same
41456733840

push

github

web-flow
feat(studio): add a reset password action for custom roles (#52506)

## What kind of change does this PR introduce?

Feature.

## What is the current behavior?

The Dashboard only offers a reset password action for the `postgres`
role (Database Settings). To change the password of a custom role, users
have to run `alter role ... password` in the SQL editor.

## What is the new behavior?

Each role row in Database > Roles has a "Reset password" item in its
actions menu. It opens a dialog with a warning that anything using the
old password will be disconnected, and the shared password field
(generate and copy). The password is required in this dialog.

- The item is disabled for system roles, and for roles that can't log
in, with a tooltip explaining why.
- It uses the existing role update mutation, so no platform endpoint is
involved.
- `RolePasswordField` gains `isOptional` and `layout` props so the
dialog can reuse it.

<img width="271" height="174" alt="Screenshot 2026-11-02 at 11 11 33"
src="https://github.com/user-attachments/assets/36f05fa0-e95c-440c-b6bb-4fadb466c2f6"
/>

<img width="543" height="414" alt="Screenshot 2026-11-02 at 11 11 17"
src="https://github.com/user-attachments/assets/87ba4f50-1315-4e07-b390-9c5b6beba129"
/>


## Testing

New `RoleRow` component tests cover the item being available for a
custom role that can log in, disabled for system roles and roles that
can't log in, the required-password validation, and a successful reset.

Resolves FE-4813.

1979 of 2350 branches covered (84.21%)

Branch coverage included in aggregate %.

2775 of 3134 relevant lines covered (88.54%)

196.05 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 studio-tests 41456733840.1 02 Nov 2026 01:57PM UTC 740
37.41
GitHub Action Run
Source Files on build 41456733840
  • Tree
  • List 185
  • Changed 152
  • Source Changed 0
  • Coverage Changed 152
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41456733840
  • 1e94d386 on github
  • Prev Build on master (#41454679907)
  • Next Build on master (#41458828133)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc