Filament Back-Office

Filament /admin is the application’s only user interface, for content managers and administrators alike. / redirects to it.

Where to work

Area Path
Filament resources and pages app/Filament/
Filament panel provider app/Providers/Filament/
Filament auth pages app/Filament/Auth/
Filament tests tests/Filament/
Policies app/Policies/

Authorization model

Filament uses three authorization tiers:

  1. Panel access uses the access-admin-panel permission.
  2. Navigation and resource visibility use feature permissions such as view-data, manage-users, manage-roles, manage-settings, and manage-reference-data.
  3. Record and action authorization uses existing policies in app/Policies/.

Authentication

Every authentication page is a Filament page under app/Filament/Auth/:

They are built on Laravel Fortify: they and the profile page call its actions (CreateNewUser, UpdateUserPassword, UpdateUserProfileInformation, the two-factor actions) and its two-factor provider directly. Fortify itself serves no route (Fortify::ignoreRoutes()), so don’t add one; add a Filament page instead.

Test placement

Put new Filament tests under tests/Filament/.

Business references