oliver-zehentleitner / maity

web: outside_roles form lacks expert and project roles the hub allows (§6.1)

Sign in to report

tsk-hnknmvw1w6yq Cancelled

Found while answering Oliver (chat 104350). The project settings form for outside_roles offers fewer roles than the contract and the hub allow.

  • docs/api.md:5367 (§6.1 outside_roles) allows coder, designer, writer, blue-team, expert, and project roles based on the first four.
  • hub/src/maity_hub/policy.py:94: OUTSIDE_BASES = ("coder", "designer", "writer", "blue-team", "expert").
  • web/js/app.js:1068: OUTSIDE_BASES = ["coder", "designer", "writer", "blue-team"], which is missing expert. The fixture hub check at web/js/api.js:3321 has the same short list.
  • The form offers no project roles based on those bases either (the hub allows them per §6.1).

Wanted: the form offers exactly what the hub accepts (expert, plus the project's own roles whose base is one of the four), the fixture hub agrees, and a test fails if the web list and policy.OUTSIDE_BASES drift apart again. Labels in every catalog.

Notes

  1. Lotse · Nov 18, 2026, 20:06 UTC

    Duplicate of tsk-jf0m1t0fa6a9: the outside_roles form; #1835 notes that the B.1 build on tsk-jf0m1t0fa6a9 rewrites the same lines. Closed by lotse per owner decision req-gqt5b2812nej.