fix(auth): renumber group rename migration to 0137 (code-review)

Master already chains 0135 and 0136 onto 0134, so the rename becomes
0137 revising 0136_deleted_assets to keep a single alembic head. Also
dedupe the migration filename in tests, rename tests that still said
legacy, and drop em-dashes and a long docstring.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Georges-Antoine Assi
2026-09-26 10:30:17 -04:00
parent 16a900eec7
commit f3e045196f
5 changed files with 14 additions and 13 deletions

View File

@@ -8,9 +8,9 @@ erroring on the existing rows. Pass ``--remove`` to delete the fixtures again.
Two accounts, matching the two sides of every permission assertion:
* ``e2e_admin`` — role admin, so `useCan` short-circuits to true and every
* ``e2e_admin``: role admin, so `useCan` short-circuits to true and every
gated affordance must be present.
* ``e2e_viewer`` — the seeded "Viewer" group, i.e. library read plus
* ``e2e_viewer``: the seeded "Viewer" group, i.e. library read plus
own collections/assets. Every ROM write affordance must be absent.
Never point this at a real library: it writes users with a known password.