Skip to content

fix(web-admin): VALID_ROLES has 4 roles vs Go's 8 #2528

Description

@ggallen

Context

Pre-existing bug in the web admin code, surfaced during PR #2517 review.

Problem

web/admin/src/lib/layers/orgConfigParse.ts:18 defines VALID_ROLES as ["fullsend", "triage", "coder", "review"] but Go's ValidRoles() includes 8 roles: fullsend, triage, coder, review, fix, retro, prioritize, e2e. This means the UI rejects configs that the backend accepts.

Fix

Update VALID_ROLES to match Go's ValidRoles().

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerspriority/mediumNormal priority, plan for next cycleready-to-codeTriaged and ready for the code agenttype/bugConfirmed defect in existing behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions