Move policy admin WebUI panels into policy module #2

Closed
opened 2026-07-10 17:51:03 +02:00 by zemion · 1 comment
Owner

Core split follow-up from add-ideas/govoplan-core#103.

Policy-specific admin pages currently still live in core/access WebUI surfaces. The policy module should own policy administration UI while core keeps shared DTOs and generic components only.

Acceptance criteria:

  • govoplan-policy provides a WebUI package and module contribution.
  • Retention/effective policy admin sections are contributed through the shared admin.sections UI capability.
  • Core keeps only shared policy DTOs, PolicySourcePath, EffectivePolicyBlock, and generic policy table components.
  • Core/access WebUI no longer imports policy-specific admin page implementations.
  • WebUI module permutation coverage is updated if a policy WebUI package is added to the build matrix.
Core split follow-up from add-ideas/govoplan-core#103. Policy-specific admin pages currently still live in core/access WebUI surfaces. The policy module should own policy administration UI while core keeps shared DTOs and generic components only. Acceptance criteria: - govoplan-policy provides a WebUI package and module contribution. - Retention/effective policy admin sections are contributed through the shared admin.sections UI capability. - Core keeps only shared policy DTOs, PolicySourcePath, EffectivePolicyBlock, and generic policy table components. - Core/access WebUI no longer imports policy-specific admin page implementations. - WebUI module permutation coverage is updated if a policy WebUI package is added to the build matrix.
zemion added the
area/webui
module/policy
labels 2026-07-10 17:51:03 +02:00
Author
Owner

Codex State: done

Summary

  • Added @govoplan/policy-webui with retention admin.sections contributions for system, tenant, group, and user scopes.
  • Policy WebUI reuses core shared retention components and loads user/group targets through API wrappers instead of access component imports.

Changed Files

  • package.json
  • webui/src/module.ts
  • webui/src/features/policy/RetentionPoliciesPanel.tsx
  • src/govoplan_policy/backend/manifest.py

Verification

  • npm run build in govoplan-core/webui
  • npm run test:module-permutations in govoplan-core/webui
  • PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src python -m unittest discover -s tests -v in govoplan-policy
## Codex State: done ### Summary - Added @govoplan/policy-webui with retention admin.sections contributions for system, tenant, group, and user scopes. - Policy WebUI reuses core shared retention components and loads user/group targets through API wrappers instead of access component imports. ### Changed Files - `package.json` - `webui/src/module.ts` - `webui/src/features/policy/RetentionPoliciesPanel.tsx` - `src/govoplan_policy/backend/manifest.py` ### Verification - `npm run build in govoplan-core/webui` - `npm run test:module-permutations in govoplan-core/webui` - `PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src python -m unittest discover -s tests -v in govoplan-policy`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-policy#2
No description provided.