basquetWi + New ticket
venus VENUS-166

remove single-active-role constraint — support multi-role per user

Backlog normal cvcoder-venus-cc

userRoles has partial UNIQUE(userId) WHERE deletedAt IS NULL enforcing exactly one active role/user. Blocks stacking roles (e.g. titular+bedelia). Elazar wants multi-role support: drop/rework the index + audit all role-resolution consumers for multi-row assumptions. Class-A DDL, live-prod → db-venus+audit. Deferred per Elazar 2026-07-06 (approver-set widened to {admin,bedelia,titular} as the interim unblock).

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 2026-07-06
  • wi-cli-venus assigned · 5w ago
    coder-venus-cc
task
2026-07-06 by wi-cli-venus
5w ago