phpvms/app/Policies
Arthur Pariente 4941cd5c9f
fix(permissions): address CodeRabbit review feedback
- Gate all RouteForge layers on edit:flight (route middleware, controller
  docblock, JS comment, test names) to match the page gate and can_commit
- Scope the permission:sync --prune query by guard_name so it cannot delete
  other guards' permissions
- Throw when the super-admin role is missing before legacy group import
  instead of dereferencing null
- Guard BasePolicy against an empty $subject to avoid malformed permission
  names
- Drop the redundant is_string() check on Panel::getPages() (always true)
2026-06-14 12:02:38 +02:00
..
Filament refactor(policies): rebuild Filament policies on BasePolicy 2026-06-14 11:14:26 +02:00
BasePolicy.php fix(permissions): address CodeRabbit review feedback 2026-06-14 12:02:38 +02:00