Move legacy admin service and governance helpers into access module #5

Closed
opened 2026-07-06 12:38:09 +02:00 by zemion · 2 comments
Owner

Scope

Move the legacy admin service and governance helper implementations into govoplan-access behind core compatibility wrappers.

Acceptance Criteria

  • govoplan_access.backend.admin owns service.py and governance.py.
  • govoplan_core.admin.service and govoplan_core.admin.governance remain compatibility import paths.
  • Existing admin/auth smoke behavior remains green.

Follow-up

The helpers still use legacy core ORM models and core permission catalogue helpers until model/catalog ownership is split.

## Scope Move the legacy admin service and governance helper implementations into govoplan-access behind core compatibility wrappers. ## Acceptance Criteria - govoplan_access.backend.admin owns service.py and governance.py. - govoplan_core.admin.service and govoplan_core.admin.governance remain compatibility import paths. - Existing admin/auth smoke behavior remains green. ## Follow-up The helpers still use legacy core ORM models and core permission catalogue helpers until model/catalog ownership is split.
Author
Owner

Codex State: done

Summary

  • Moved legacy admin service and governance helper implementations into govoplan-access with core compatibility wrappers.
  • Replaced access-to-files/campaign admin lookups with module-owned tenant summary providers and files group-delete veto providers.
  • Removed three transitional dependency-boundary exceptions; boundary check now reports 12 remaining exceptions.

Changed Files

  • src/govoplan_access/backend/admin/service.py
  • src/govoplan_access/backend/admin/governance.py
  • src/govoplan_access/backend/runtime.py
  • src/govoplan_access/backend/manifest.py
  • README.md
  • /mnt/DATA/git/govoplan-core/src/govoplan_core/admin/service.py
  • /mnt/DATA/git/govoplan-core/src/govoplan_core/admin/governance.py
  • /mnt/DATA/git/govoplan-core/scripts/check_dependency_boundaries.py
  • /mnt/DATA/git/govoplan-core/docs/ACCESS_EXTRACTION_PLAN.md
  • /mnt/DATA/git/govoplan-files/src/govoplan_files/backend/manifest.py
  • /mnt/DATA/git/govoplan-campaign/src/govoplan_campaign/backend/manifest.py

Verification

  • ./.venv/bin/python -m py_compile moved admin helpers and provider manifests
  • ./.venv/bin/python scripts/check_dependency_boundaries.py
  • ./.venv/bin/python -m unittest tests.test_module_system
  • ./.venv/bin/python -m unittest selected admin/auth smoke tests
  • ./scripts/check-focused.sh

Next / Blocked

  • Keep issue open until the local multi-repo worktree changes are committed and pushed.
## Codex State: done ### Summary - Moved legacy admin service and governance helper implementations into govoplan-access with core compatibility wrappers. - Replaced access-to-files/campaign admin lookups with module-owned tenant summary providers and files group-delete veto providers. - Removed three transitional dependency-boundary exceptions; boundary check now reports 12 remaining exceptions. ### Changed Files - `src/govoplan_access/backend/admin/service.py` - `src/govoplan_access/backend/admin/governance.py` - `src/govoplan_access/backend/runtime.py` - `src/govoplan_access/backend/manifest.py` - `README.md` - `/mnt/DATA/git/govoplan-core/src/govoplan_core/admin/service.py` - `/mnt/DATA/git/govoplan-core/src/govoplan_core/admin/governance.py` - `/mnt/DATA/git/govoplan-core/scripts/check_dependency_boundaries.py` - `/mnt/DATA/git/govoplan-core/docs/ACCESS_EXTRACTION_PLAN.md` - `/mnt/DATA/git/govoplan-files/src/govoplan_files/backend/manifest.py` - `/mnt/DATA/git/govoplan-campaign/src/govoplan_campaign/backend/manifest.py` ### Verification - `./.venv/bin/python -m py_compile moved admin helpers and provider manifests` - `./.venv/bin/python scripts/check_dependency_boundaries.py` - `./.venv/bin/python -m unittest tests.test_module_system` - `./.venv/bin/python -m unittest selected admin/auth smoke tests` - `./scripts/check-focused.sh` ### Next / Blocked - Keep issue open until the local multi-repo worktree changes are committed and pushed.
Author
Owner

Codex State: done

Summary

  • The legacy admin service and governance helpers are owned by govoplan_access.backend.admin.
  • Core compatibility paths govoplan_core.admin.service and govoplan_core.admin.governance now re-export the access implementations.

Changed Files

  • /mnt/DATA/git/govoplan-core/src/govoplan_core/admin/service.py
  • /mnt/DATA/git/govoplan-core/src/govoplan_core/admin/governance.py
  • /mnt/DATA/git/govoplan-core/tests/test_module_system.py

Verification

  • cd /mnt/DATA/git/govoplan-core && ./.venv/bin/python -m unittest tests.test_module_system
  • cd /mnt/DATA/git/govoplan-core && ./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_tenant_user_group_role_and_api_key_administration
## Codex State: done ### Summary - The legacy admin service and governance helpers are owned by govoplan_access.backend.admin. - Core compatibility paths govoplan_core.admin.service and govoplan_core.admin.governance now re-export the access implementations. ### Changed Files - `/mnt/DATA/git/govoplan-core/src/govoplan_core/admin/service.py` - `/mnt/DATA/git/govoplan-core/src/govoplan_core/admin/governance.py` - `/mnt/DATA/git/govoplan-core/tests/test_module_system.py` ### Verification - `cd /mnt/DATA/git/govoplan-core && ./.venv/bin/python -m unittest tests.test_module_system` - `cd /mnt/DATA/git/govoplan-core && ./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_tenant_user_group_role_and_api_key_administration`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-access#5
No description provided.