1.4 KiB
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.phpforgroupPolicyConfiguration(hydration/subresources metadata). - T002 Hydrate
definitionValues(+presentationValues) inapp/Services/Intune/PolicySnapshotService.php.
Phase 2: Restore (Definition Values)
- T003 Implement restore apply for
definitionValuesandpresentationValuesinapp/Services/Intune/RestoreService.php.
Phase 3: UI Normalization
- T004 Add
GroupPolicyConfigurationNormalizerand register it (Policy “Normalized settings” is readable). - T009 Make
Normalized difflabels readable forgroupPolicyConfigurationandsettingsCatalogPolicy. - 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.