Sub-Task #123
Updated by Bricklou 22 days ago
Technical specification of the read-only lock on the profile page.
* The lock state is `managed_by_provider`, returned by `GET /api/v1/me` and by the profile update response, and kept in the shared user state.
* When it is set, the page shows one notice at the top, and the username and email fields are disabled with the design-system disabled style. The submit buttons are disabled too.
* The server refuses the mutations anyway (403, see #120 and #308); the page never relies on the lock alone.
* A local account sees no notice and editable fields.
Acceptance criteria:
* [x] A provider-managed account sees one notice and disabled fields.
* [x] A local account is not affected.
* [x] Both cases are covered by a browser test.