whisper-money/resources/js/pages/settings
Víctor Falcón 0f3cdd41aa
feat(open-banking): enable manage bank accounts for everyone (#572)
## Summary

Removes the `ManageBankAccounts` Pennant feature flag that gated the
per-connection "Manage Accounts" surface to the admin user, making the
flow available to all users.

## Changes

- Delete the `App\Features\ManageBankAccounts` feature class.
- `ConnectionAccountController`: drop the `ensureFeatureEnabled()` gate
(3 call sites + method) and the `Feature`/`ManageBankAccounts` imports.
Access stays guarded by `authorizeConnection()` (connection ownership).
- `HandleInertiaRequests`: stop sharing the `manageBankAccounts` Inertia
flag.
- Frontend: remove the flag from the `Features` type, the
`features.manageBankAccounts` conditional in `connections.tsx` (now
gated solely by `canManageAccounts`), and the now-unused `features`
destructure.
- Tests: update `InertiaSharedDataTest` and the `connections.test.tsx`
mock; simplify the `adminUser()` helper to `onboardedUser()` in
`ConnectionAccountTest` and remove the "forbidden when feature disabled"
test.

## Testing

- `vendor/bin/pint --dirty` — pass
- `php artisan test tests/Feature/OpenBanking/ConnectionAccountTest.php
tests/Feature/InertiaSharedDataTest.php` — 17 passed
- `bunx vitest run resources/js/pages/settings/connections.test.tsx` —
pass
- `bun run lint` / `bun run format` — clean
2026-06-20 17:35:43 +00:00
..
account.tsx feat(auth): show/hide toggle on password fields (#499) 2026-06-06 11:42:20 +02:00
accounts.tsx feat(real-estate): auto-calculate revaluation % and generate historical balances (#253) 2026-04-15 12:18:33 +00:00
appearance.tsx feat(i18n): add localization test and fix missing Spanish translations (#174) 2026-03-01 12:32:39 +00:00
automation-rules.tsx feat(ai): share AI sparkle icon and mark AI-generated rules (#538) 2026-06-15 18:22:11 +02:00
billing.tsx fix(pricing): update final release prices (#288) 2026-04-15 14:49:02 +01:00
categories.tsx feat: parent/child category tree (#474) 2026-06-03 19:30:12 +02:00
connections.test.tsx feat(open-banking): enable manage bank accounts for everyone (#572) 2026-06-20 17:35:43 +00:00
connections.tsx feat(open-banking): enable manage bank accounts for everyone (#572) 2026-06-20 17:35:43 +00:00
delete-account.tsx fix(account): block deletion while subscription or trial is active (#531) 2026-06-14 20:46:44 +02:00
labels.tsx fix: Add gap between filter/create button on mobile settings pages (#115) 2026-02-12 20:50:05 +01:00
password.tsx feat(auth): show/hide toggle on password fields (#499) 2026-06-06 11:42:20 +02:00
two-factor.tsx feat: Spanish localization (#74) 2026-02-08 11:58:08 +01:00