TenantAtlas/specs/010-admin-templates/tasks.md
2025-12-30 02:35:02 +01:00

1.4 KiB

Tasks: Administrative Templates (Group Policy Configurations) (010)

Branch: feat/010-admin-templates | Date: 2025-12-29
Input: spec.md, plan.md

Phase 1: Contracts + Snapshot Hydration

  • T001 Extend config/graph_contracts.php for groupPolicyConfiguration (hydration/subresources metadata).
  • T002 Hydrate definitionValues (+ presentationValues) in app/Services/Intune/PolicySnapshotService.php.

Phase 2: Restore (Definition Values)

  • T003 Implement restore apply for definitionValues and presentationValues in app/Services/Intune/RestoreService.php.

Phase 3: UI Normalization

  • T004 Add GroupPolicyConfigurationNormalizer and register it (Policy “Normalized settings” is readable).
  • T009 Make Normalized diff labels readable for groupPolicyConfiguration and settingsCatalogPolicy.
  • T010 Ensure restore-created versions keep assignments + show scope tags independently.
  • T012 Add “Restore to Intune” from a specific PolicyVersion (rollback) + show policy version numbers in restore selection UI.

Phase 4: Tests + Verification

  • T005 Add tests for hydration + UI display.
  • T006 Add tests for restore definitionValues apply.
  • T007 Run tests (targeted).
  • T008 Run Pint (./vendor/bin/pint --dirty).
  • T011 Fix Admin Templates hydration paging (@odata.nextLink) and add coverage.