add notifications logic and add support of both JWT and Sanctum

This commit is contained in:
root
2026-03-11 01:20:31 -04:00
parent f6be51576c
commit 182036cc41
141 changed files with 8685 additions and 648 deletions
@@ -39,4 +39,12 @@ class AttendancePolicyServiceTest extends TestCase
$this->assertTrue($isAdmin);
}
public function test_can_manage_early_dismissals_for_teacher(): void
{
$service = new AttendancePolicyService();
$allowed = $service->canManageEarlyDismissals(['Teacher']);
$this->assertTrue($allowed);
}
}