Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Protection: Update and Delete #116

Merged
merged 9 commits into from
Apr 2, 2024

Conversation

chadell
Copy link
Contributor

@chadell chadell commented Mar 18, 2024

New features:

  • CustomValidators were added for all the models defined under configuration as protected_models. This avoids direct updated of object attributes that are owned by a design, if not coming from the design updated/revert process itself
  • Pre_delete signal (customized with a Middleware that injects the user session) to avoid deleting objects that are owned (full_control) by a design or referenced.
  • Add a superuser bypass mechanism to overpass these data protection mechanisms
  • Add a new tab for all the protected models to list which design owns each attribute or the object itself

@chadell chadell requested review from abates and mzbroch as code owners March 18, 2024 12:50
@chadell chadell requested a review from Kircheneer March 22, 2024 10:41
@chadell chadell merged commit 3b852a7 into feature_delices Apr 2, 2024
15 checks passed
@chadell chadell deleted the feature_delices-protection branch April 2, 2024 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants