Commit Graph
2 Commits
Author SHA1 Message Date
Malek TellissiandClaude Sonnet 4.6 0500cab160 Fix: admin/manager land on edit page, viewer on view page
Deploy / deploy (push) Successful in 16s
Filament checks view before edit for row URL. Added a shared
ViewRecord base that redirects to edit if canEdit() is true,
so admins and managers get the editable form directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 03:05:05 +02:00
Malek TellissiandClaude Sonnet 4.6 1494273efd Add viewer access to records and restrict activity log
Deploy / deploy (push) Successful in 16s
- canView() + canViewAny() in EnforcesRoles: all SMS roles can view
- View pages for all 7 resources so viewers can open records read-only
- Custom ActivityResource restricts activity log to admin + manager only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 02:44:00 +02:00