jeffersongoncalves / filament-ccpa-requests
Filament plugin for laravel-ccpa-requests: handle CCPA consumer requests to know, delete and correct in your panel: acknowledge, verify, export, delete, extend the 45-day deadline, complete or deny.
Package info
github.com/jeffersongoncalves/filament-ccpa-requests
pkg:composer/jeffersongoncalves/filament-ccpa-requests
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/filament-plugin-core: ^3.0
- jeffersongoncalves/laravel-ccpa-requests: ^1.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- jeffersongoncalves/pest-plugin-database-migrations: ^1.0
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^3.0|^4.0
- pestphp/pest-plugin-laravel: ^3.0|^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Filament CCPA Requests
A Filament panel for CCPA consumer requests to know, delete and correct (Cal. Civ. Code §§1798.105, 1798.106 and 1798.110). It is the UI of laravel-ccpa-requests: every action calls that package, so the rules it enforces (verify first, automatic types only, 45-day deadline) stay in one place.
Features
- Register a request to know, delete or correct. The deadline is set from
ccpa-requests.deadline(45 days). - Confirm receipt within 10 business days (Regulations §7021).
- Extend a request once by 45 days, with the reason you give the consumer (§1798.130(a)(2)(A)).
- Verify identity: link the request to the data subject's record. Nothing is exported or erased before this.
- Fulfil requests to know (JSON export, downloadable from the request) and to delete (deidentifies the consumer's records). Corrections are completed by hand.
- Complete the rights answered by hand (confirmation, correction, sharing information...) with the response you gave, or reject with a reason.
- Overdue requests in red, an "Overdue" filter, and a navigation badge with open requests (red when one is overdue).
- 19 languages.
Compatibility
| Plugin Version | Filament |
|---|---|
| 1.x | 3.x |
| 2.x | 4.x |
| 3.x | 5.x |
Installation
You can install the package via composer:
composer require jeffersongoncalves/filament-ccpa-requests:"^3.0" php artisan vendor:publish --tag="ccpa-requests-migrations" php artisan migrate
Set up laravel-ccpa first: the models listed in ccpa.models are the ones a request can be linked to, exported and erased.
Usage
use JeffersonGoncalves\Filament\CcpaRequests\CcpaRequestsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ CcpaRequestsPlugin::make() ->navigationGroup('CCPA') // default: no group ->navigationSort(10) ->navigationIcon('heroicon-o-shield-check') ->slug('data-subject-requests') ->subjectModels([User::class]), // default: ccpa.models ]); }
All fluent methods are optional. The export disk and the deadline are configured in laravel-ccpa-requests's ccpa-requests config. Keep the export disk private: the file holds the data subject's personal data.
The resource has no authorization of its own: register it only on panels whose users handle privacy requests, or add a policy for
JeffersonGoncalves\CcpaRequests\Models\ConsumerRequest.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
