TenantAtlas/config
ahmido 83f1814254 feat/024-terms-and-conditions (#30)
Added termsAndConditions to the supported policy list and Graph contract so Intune sync/backup/restore paths (and scope tag handling) treat Terms & Conditions like other enrollment policies, ensuring listings, snapshots, assignments CRUD, and restore modes flow naturally (tenantpilot.php (lines 168-225), graph_contracts.php (lines 520-560), InteractsWithODataTypes.php (lines 10-30)).
Exposed a dedicated TermsAndConditionsNormalizer and tagged it in AppServiceProvider so the Filament UI shows readable rows (display name, title, acceptance statement, body, scope tags) and the diff engine flattens them consistently (TermsAndConditionsNormalizer.php (lines 1-94), AppServiceProvider.php (lines 43-58)).
Added Pest coverage for the new type that checks config/contract entries, assignment restore behavior, normalized output, and PolicySync ingestion (TermsAndConditionsPolicyTypeTest.php (lines 70-200)).
Tests:

TermsAndConditionsPolicyTypeTest.php
./vendor/bin/pint --dirty

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #30
2026-01-04 03:01:11 +00:00
..
app.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
auth.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
cache.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
database.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
filesystems.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
graph_contracts.php feat/024-terms-and-conditions (#30) 2026-01-04 03:01:11 +00:00
graph.php feat: TenantPilot v1 - Complete implementation (Phases 1-12) 2025-12-12 02:27:54 +01:00
intune_permissions.php fix: improve assignment capture/restore and filter name handling (#8) 2025-12-28 13:59:12 +00:00
logging.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
mail.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
queue.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
services.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
session.php Initial commit from Specify template 2025-12-10 22:27:21 +01:00
tenantpilot.php feat/024-terms-and-conditions (#30) 2026-01-04 03:01:11 +00:00