Skip to content

feat: open access to any authenticated user, remove ZPA students page#57

Merged
obcode merged 1 commit into
mainfrom
feat/open-access-remove-zpa
Jul 22, 2026
Merged

feat: open access to any authenticated user, remove ZPA students page#57
obcode merged 1 commit into
mainfrom
feat/open-access-remove-zpa

Conversation

@obcode

@obcode obcode commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Was

Passt die GUI an das offene Zugangsmodell von glabs-web an: keine Allowlist mehr, der Auth-Proxy (hm.edu) ist die einzige Zugangsgrenze.

  • hooks.server.ts: Der „Kein Zutritt"-Riegel prüfte gegen die Backend-Allowlist, die es nicht mehr gibt (toter Code, ließ ohnehin immer durch). Entfernt; es bleibt nur das Setzen des Auth-Kontexts (X-Remote-User-Weitergabe).
  • ZPA-Studierenden-Seite (courses/[name]/students/) samt Button gelöscht. Das Backend liefert courseStudents/CourseStudent nicht mehr; schema.graphql + Codegen frisch gezogen. Die Roster-Bearbeitung (setCourseStudents) bleibt unberührt.

Kompatibilität

Kein Breaking-Change-Marker. Muss zusammen mit obcode/glabs#132 gemergt/deployt werden (koordinierte Schema-Änderung).

Checks

pnpm check · pnpm lint · pnpm test (20 passed) · pnpm build — alle grün.

🤖 Generated with Claude Code

glabs-web no longer has a login allowlist — the auth proxy (hm.edu) is the sole
access boundary, so the "Kein Zutritt" gate in hooks.server.ts checked a rule
that no longer exists. Drop the gate; keep only the auth-context setup that
forwards X-Remote-User to the backend.

Remove the ZPA-enriched students page (courses/[name]/students) and its link.
The backend no longer exposes courseStudents / CourseStudent; schema.graphql
and the codegen output are pulled fresh to match. The roster editor
(setCourseStudents) is untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@obcode
obcode merged commit 8b24cda into main Jul 22, 2026
3 checks passed
@obcode
obcode deleted the feat/open-access-remove-zpa branch July 22, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant