Skip to main content

Available Policies

The admin panel includes authorization policies for all resources. Each policy controls who can view, create, update, and delete records.

Policy Methods

All policies implement the standard authorization methods:
  • view() - Controls visibility of records in lists and detail pages
  • create() - Controls whether users can create new records
  • update() - Controls whether users can edit records
  • delete() - Controls whether users can delete records

Super Admin Support

Policies are designed to support super admin functionality:
  • Return true to grant permission
  • Return null to let the super admin check take over
  • Return false to deny permission (even for super admins)

Policy Contracts

All policies have corresponding contracts for customization:

Policy Registration

Policies are automatically registered via the FilamentPolicyManifest. To replace a policy:
For more details, see the Custom Policies guide.