{"repo":"chiiya/filament-access-control","free":true,"listed":false,"github":"https://github.com/chiiya/filament-access-control","clone":"git clone https://github.com/chiiya/filament-access-control.git","description":"Admin user, role and permission management for Laravel Filament","language":"PHP","stars":219,"topics":["php","laravel","filament","permissions","roles"],"license":"MIT","category":"databases-storage","readme_excerpt":"Filament Access Control Opinionated setup for managing admin users, roles and permissions within Laravel Filament Features - Separate database table for filament admin users (separate model, separate guard, separate password broker) - Uses spatie/laravel-permission for roles and permissions - Fully localized - CRUD resources for admin users, roles and permissions - Admin users may belong to one role - Admin users can have direct permissions or indirect permissions through their role - When creating admin users through the admin interface, no password is specified. Instead, the user receives an email prompting them to set their password - Optional account expiry for admin users. Expired accounts are no longer able to log in - Optional email based two-factor authentication. Installation 1. Install the package via composer: 2. Update your Filament Panel ServiceProvider and register the plugin: You may remove any calls to login() or other methods that configure the authentication process, since the plugin takes care of that. 3. Publish the migrations and config, then run the migrations. Make sure you also publish and run the spatie/laravel-permission migrations if you haven't done so yet. 4. To seed the necessary base data (role & permissions), run php artisan filament-access-control:install or call the Chiiya\\FilamentAccessControl\\Database\\Seeders\\FilamentAccessControlSeeder seeder in your database seeder. 5. Create an admin user using php artisan filament-access-control:user . ","default_branch":null,"files":null,"tree":[],"storefront":"/r/chiiya","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chiiya/filament-access-control/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}