OFFLINE-GmbH / oc-gdpr-plugin

October CMS plugin to make websites GDPR and ePrivacy compliant
https://octobercms.com/plugin/offline-gdpr
MIT License
36 stars 20 forks source link

Mass assignment #46

Closed damsfx closed 5 years ago

damsfx commented 6 years ago

It would be fine if we could add default settings for groups and cookies, ,via mass assignment in tools like oc-bootstrapper or seeder files.

I only repeat, or almost repeat, the same parameters at each site. :-/

tobias-kuendig commented 6 years ago

Hi @damsfx

This is definitely on our wishlist as well since we experience the same problem.

I like the idea to add this to oc-bootstrapper. Maybe I'll add a json export/import feature as well for everyone who wants to easily copy the settings between different projects.

damsfx commented 5 years ago

Temporarily would it not be possible to add a protected $fillable to the Cookie and CookieGroup models!?

tobias-kuendig commented 5 years ago

Sure! Please open a PR with the changes and I'll release it as a new version.

damsfx commented 5 years ago

Sure! Please open a PR with the changes and I'll release it as a new version.

I'm sorry I couldn't do it.

There were not many changes, but unfortunately I didn't have time.
I will certainly have done so in my next project.

Thank you very much.