forss-it / laravel-gdpr-compliance Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sander3/laravel-gdpr
GDPR compliant data handling with ease
This project forked from sander3/laravel-gdpr
GDPR compliant data handling with ease
Only the controller does this:
$user->update([
'isAnonymized' => true,
]);
The termsAccepted function redirects automatically to / after the user accepts or denies the GDPR terms, I've tried setting the url in the session when showing the terms but it doesn't seem to work. Has anyone tried to get the accept/deny to return to the orginal url?
It seems like this package does not support Laravel 5.7, any input?
Application ready! Build something amazing.
post@DanielRTRD MINGW32 /e/Users/RTRD/Bitbucket/laravel57test
$ composer require dialect/laravel-gdpr-compliance
Using version ^1.4 for dialect/laravel-gdpr-compliance
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for dialect/laravel-gdpr-compliance ^1.4 -> satisfiable by dialect/laravel-gdpr-compliance[v1.4.0].
- Conclusion: remove laravel/framework v5.7.12
- Conclusion: don't install laravel/framework v5.7.12
- dialect/laravel-gdpr-compliance v1.4.0 requires illuminate/support 5.5.x|5.6.x -> satisfiable by illuminate/support[5.5.x-dev, 5.6.x-dev, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
Then if I require illuminate/support it outputs:
post@DanielRTRD MINGW32 /e/Users/RTRD/Bitbucket/laravel57test
$ composer require dialect/laravel-gdpr-compliance
Using version ^1.4 for dialect/laravel-gdpr-compliance
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for dialect/laravel-gdpr-compliance ^1.4 -> satisfiable by dialect/laravel-gdpr-compliance[v1.4.0].
- Conclusion: remove laravel/framework v5.7.12
- Conclusion: don't install laravel/framework v5.7.12
- dialect/laravel-gdpr-compliance v1.4.0 requires illuminate/support 5.5.x|5.6.x -> satisfiable by illuminate/support[5.5.x-dev, 5.6.x-dev].
- illuminate/support 5.5.x-dev conflicts with laravel/framework[v5.7.12].
- don't install illuminate/support 5.6.x-dev|don't install laravel/framework v5.7.12
- Installation request for laravel/framework (locked at v5.7.12, required as 5.7.*) -> satisfiable by laravel/framework[v5.7.12].
Installation failed, reverting ./composer.json to its original content.
When anonymizing a user it is anonymizing relations, I dont want that. I prefer to delete it with another function. Is there a way to skip that when running anonymize on a user?
I have added $gdprWith relations for the download, but don't need them to anonymize.
Is there a good way to extend this to download all user files (either along with associated models or as a zipped bundle)
In the README file, it is stated that
Using getAnonynomized{column} to return anonymizable data
public function getAnonynomizedEmail()
{
return 'your_return_value';
}
There is a typo in getAnonyNOmized{column}, it should be getAnonymized{column} for it to work
Just in case anyone ran into it not working properly and didn't know why
Should decrypt encrypted fields automatically.
Hi
Thanks for this package.
Any idea how to implement this over Rest API?
Hi.
Any plan to upgrade it to Laravel 8?
Waiting to see this to be compatible with Laravel 8.
When the package is installed it overwrites all other schedules in the Console/Kernel.
This makes all the other scheduled jobs not being ran.
This cannot be assumed to be the standard name.
When I run php artisan route:list , I'm getting an error:
ReflectionException : Class Dialect\Gdpr\Http\Controllers\GdprController does not exist
Changing boolean 'isAnonymized' to datetime-field 'anonymized_at' would be more in line with laravel convention.
It looks like in the orignal repo we can follow relationships by having protected $gdprWith defined on the relationship model. This doesn't seem to work here.
On the user model i have
protected $gdprWith = ['cars']
On the cars model i have
protected $gdprWith = ['insurance']
When exporting the user model I just get cars and not the insruance details. it would be ideal if we could export in this way rather than defining, the user model like,
protected $gdprWith = ['cars', 'cars.insurance']
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.