Files
pad/internal/server
xarmian f756e853fe fix(oauth): keep zero-workspace consent authorizable via the wildcard path (BUG-2303) (#1124)
The consent template gated the whole workspace fieldset on the user
having memberships; with zero workspaces no access radio rendered and
the inline script permanently disabled Authorize — a dead end, even
though parseConsentPayload's wildcard path accepts a zero-workspace
workspace_access=all consent with no membership validation.

Render the 'All my workspaces' radio unconditionally (force-checked
when memberships are zero — it is the only option, and an unchecked
radio group would re-disable the button), keep the specific radio +
picker gated on memberships, and replace the dead-end copy with a
pointer at the workspace-creation checkbox so the client can create
the user's first workspace.
2026-08-16 18:25:23 -04:00
..