Skip to content

[Audit] E2E: auth Unauthorized UX + RBAC denial coverage #446

Description

@RaminNietzsche

Background

E2E surface is thin relative to security-critical UI.

Problem

tests/e2e/ only covers mocked watch/export/tenant-prefs. No unauthenticated Unauthorized UX, OIDC callback, or viewer-vs-admin RBAC denial — regressions can ship with green e2e.

Proposed solution

  • E2E: unauthenticated API → Unauthorized UX
  • OIDC callback happy/error with mocked IdP
  • Viewer vs admin denial on Ops/admin actions

Acceptance criteria

  • CI e2e includes ≥1 auth and ≥1 RBAC case
  • Deterministic fixtures

Priority

P2 / Medium

Complexity

Medium

Evidence

tests/e2e/ (3 specs only)

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendsecuritySecurity hardeningtestTests, fixtures, and regression coverage

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions