whisper-money/resources/js/pages
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
..
Accounts refactor(encryption): strip client-side transaction encryption (#514) 2026-06-20 16:13:26 +00:00
auth refactor(encryption): strip client-side transaction encryption (#514) 2026-06-20 16:13:26 +00:00
budgets feat: add catch-all budgets (#527) 2026-06-15 16:07:19 +00:00
cashflow feat: expand Sankey subcategories inline (#485) 2026-06-04 10:31:40 +02:00
onboarding feat(ai): suggest automation rules during onboarding (#523) 2026-06-13 22:51:15 +02:00
open-banking feat(connections): create a new account from the manage-accounts selector (#560) 2026-06-19 12:49:03 +02:00
settings feat(open-banking): enable manage bank accounts for everyone (#572) 2026-06-20 17:35:43 +00:00
subscription feat(ai): suggest automation rules during onboarding (#523) 2026-06-13 22:51:15 +02:00
transactions refactor(encryption): strip client-side transaction encryption (#514) 2026-06-20 16:13:26 +00:00
waitlist feat: verify waitlist leads (#285) 2026-04-14 11:26:01 +01:00
dashboard.tsx feat(integration-requests): community board to request & vote bank integrations (#550) 2026-06-17 12:50:51 +00:00
privacy.tsx Remove plaintext-transactions feature flag & E2E references (#116) 2026-02-13 11:10:21 +01:00
terms.tsx Replace E2E encryption mentions with privacy-first messaging (#124) 2026-02-14 16:59:50 +01:00
welcome.tsx feat(i18n): add French translation support (#532) 2026-06-15 19:15:43 +02:00