- What is elpandape/filament-bouncer used for?
- It integrates the Bouncer authorization package with Filament so you can manage roles, permissions, and user abilities from your admin panel. It adds Filament resources for roles and permissions plus policy-aware controls that respect Bouncer authorization.
- How do I install Filament Bouncer in Laravel?
- Install it via Composer with elpandape/filament-bouncer, then register the plugin in your Filament panel provider. You also need Bouncer installed and migrated so its roles and abilities tables are available; check the README for any publish or config steps.
- Which Laravel and Filament versions does Filament Bouncer support?
- Support depends on the version constraints declared in the package composer.json and the README. It is intended for Laravel applications using Filament and Bouncer, so confirm those versions match before installing or upgrading.
- Does Filament Bouncer replace Bouncer?
- No, it integrates with Bouncer rather than replacing it. Bouncer remains the authorization layer for roles and abilities, while Filament Bouncer provides the admin UI and policy-aware Filament controls.
- Can I assign roles and permissions to users from the Filament admin panel?
- Yes, the package adds Filament resources for managing roles and permissions and for assigning abilities to users. That lets administrators handle common access-control tasks without building custom CRUD screens.
- How do policy-aware controls work in Filament Bouncer?
- The package ties Filament actions and resources to Bouncer abilities so the UI respects your authorization rules. Users should only see or perform actions they are allowed to perform according to their roles and abilities.
- Is Filament Bouncer suitable for production Laravel apps?
- It can be used in production when your Laravel, Filament, and Bouncer versions are compatible and you have tested your authorization flows. Recent releases add aggregate save events that can support audit logging and cache invalidation, but review dispatch and rollback semantics before relying on them.
- How do I test roles and permissions with Filament Bouncer?
- Use Laravel's testing tools and Bouncer's authorization assertions to verify that users have the expected abilities. For Filament resources, add Livewire or Filament tests to confirm policy-aware actions are visible or blocked for each role.
- What are alternatives to Filament Bouncer for Filament permissions?
- Alternatives include Filament Shield, Spatie Laravel Permission plugins for Filament, or custom Filament resources built on Bouncer. Choose based on whether you already use Bouncer, need policy-aware UI controls, and want maintained Composer packages.
- How is Filament Bouncer maintained and upgraded?
- The package follows semantic versioning, and the v10.2.0 notes describe an additive event change with no removed symbols. Check release notes for payload stability, event dispatch semantics, and Laravel/Filament compatibility before upgrading.