jeffersongoncalves / filament-quebec-pia
Filament admin for Quebec Law 25 privacy impact assessments: projects (s. 3.3) and communications outside Quebec (s. 17), with scored risks and approval
Package info
github.com/jeffersongoncalves/filament-quebec-pia
pkg:composer/jeffersongoncalves/filament-quebec-pia
Requires
- php: ^8.2
- filament/filament: ^5.3
- jeffersongoncalves/filament-plugin-core: ^3.0
- jeffersongoncalves/laravel-quebec-pia: ^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 Quebec PIA
Write the privacy impact assessments (EFVP) of laravel-quebec-pia in your Filament panel, under Quebec's private sector privacy act (Law 25).
Features
- Assessments of three types: an information system project (s. 3.3), a communication outside Quebec (s. 17) or research (s. 21), linked to a processing activity from laravel-quebec-governance.
- The description, the necessity and proportionality, and the opinion of the person in charge of the protection of personal information, consulted from the outset.
- Outside Quebec: the destination, its legal framework and the conclusion on adequate protection; a May communicate column shows when the information may go.
- Risks in a repeater. Each one has an optional LINDDUN threat, a likelihood and an impact from 1 to 3, the measures taken, and the scores after those measures.
- Approve: asks for the approver's name and schedules the next review. Editing an approved assessment sends it back to draft.
- Missing assessments: lists the processing activities with sensitive information or profiling and no project assessment, or communicated outside Quebec without an outside-Quebec assessment.
- Export (JSON) for each assessment.
- 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-quebec-pia:"^3.0" php artisan vendor:publish --tag="quebec-governance-migrations" # if not published yet php artisan vendor:publish --tag="quebec-pia-migrations" php artisan migrate
Usage
use JeffersonGoncalves\Filament\QuebecPia\QuebecPiaPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ QuebecPiaPlugin::make() ->navigationGroup('Quebec') // default: no group ->navigationSort(7) ->navigationIcon('heroicon-o-shield-exclamation') ->slug('impact-assessments'), ]); }
All fluent methods are optional. Pair it with filament-quebec-governance to maintain the processing activities in the same panel.
The resource has no authorization of its own: register it only on panels whose users write the assessments, or add a policy for
JeffersonGoncalves\QuebecPia\Models\ImpactAssessment.
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.
