mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
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:
4
.github/scripts/seed_e2e_users.py
vendored
4
.github/scripts/seed_e2e_users.py
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user