[Feature] Move login/session/admin access UI into access/admin module contributions #79

Closed
opened 2026-07-06 15:05:44 +02:00 by zemion · 2 comments
Owner

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 153
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 2: Extract Access

Imported item:

Move login/session/admin access UI into access/admin module contributions.
<!-- codex-generic-backlog-fingerprint:aede4205ed3b5aa7680cb760 --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `153` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 2: Extract Access` Imported item: ```text Move login/session/admin access UI into access/admin module contributions. ```
zemion added this to the Phase 2: Extract Access milestone 2026-07-06 15:05:45 +02:00
zemion added the
type
feature
priority
p2
source/backlog-import
codex/ready
labels 2026-07-07 23:25:57 +02:00
zemion added the
status
triage
label 2026-07-08 02:53:49 +02:00
Author
Owner

Codex State: progress

Summary

  • Access Admin WebUI is contributed by govoplan-access via @govoplan/access-webui and the /admin route contribution.

Next / Blocked

  • Core still carries legacy admin API helpers and shared admin-read scope constants. Verify/remove or intentionally document those compatibility exports before closing.

Suggested status label: status/in-progress

## Codex State: progress ### Summary - Access Admin WebUI is contributed by govoplan-access via @govoplan/access-webui and the /admin route contribution. ### Next / Blocked - Core still carries legacy admin API helpers and shared admin-read scope constants. Verify/remove or intentionally document those compatibility exports before closing. Suggested status label: `status/in-progress`
Author
Owner

Codex State: done

Summary

  • The access/admin UI has been moved out of core; core now has no legacy webui/src/api/admin.ts surface and no imports from api/admin.
  • Retention policy editing now uses a narrow core privacy-retention API instead of the old broad admin API.
  • Core still keeps the generic shell login modal and auth client used by AppShell/Titlebar; access owns the backend auth/session routes through module contribution per ACCESS_MODULE_BOUNDARY.

Changed Files

  • /mnt/DATA/git/govoplan-core/webui/src/api/privacyRetention.ts
  • /mnt/DATA/git/govoplan-core/webui/src/api/admin.ts (deleted)
  • /mnt/DATA/git/govoplan-core/webui/src/features/privacy/RetentionPolicyManagement.tsx
  • /mnt/DATA/git/govoplan-core/webui/src/index.ts
  • /mnt/DATA/git/govoplan-core/tests/test_module_system.py

Verification

  • /mnt/DATA/git/govoplan-core/.venv/bin/python -m unittest tests.test_access_contracts tests.test_module_system
  • npm run build (govoplan-core/webui; passes with existing npm tmp warning)
## Codex State: done ### Summary - The access/admin UI has been moved out of core; core now has no legacy webui/src/api/admin.ts surface and no imports from api/admin. - Retention policy editing now uses a narrow core privacy-retention API instead of the old broad admin API. - Core still keeps the generic shell login modal and auth client used by AppShell/Titlebar; access owns the backend auth/session routes through module contribution per ACCESS_MODULE_BOUNDARY. ### Changed Files - `/mnt/DATA/git/govoplan-core/webui/src/api/privacyRetention.ts` - `/mnt/DATA/git/govoplan-core/webui/src/api/admin.ts (deleted)` - `/mnt/DATA/git/govoplan-core/webui/src/features/privacy/RetentionPolicyManagement.tsx` - `/mnt/DATA/git/govoplan-core/webui/src/index.ts` - `/mnt/DATA/git/govoplan-core/tests/test_module_system.py` ### Verification - `/mnt/DATA/git/govoplan-core/.venv/bin/python -m unittest tests.test_access_contracts tests.test_module_system` - `npm run build (govoplan-core/webui; passes with existing npm tmp warning)`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#79
No description provided.