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

Allow to wipe a tenant before data import #893

Open
ptitFicus opened this issue Oct 22, 2024 · 2 comments · May be fixed by #908
Open

Allow to wipe a tenant before data import #893

ptitFicus opened this issue Oct 22, 2024 · 2 comments · May be fixed by #908

Comments

@ptitFicus
Copy link
Member

Right now, Izanami offers 3 import modes: fail, skip and override.

This issue aims to add a new mode: wipe.

This mode should wipe all data from target tenant.

This would allow to completely control a tenant content from some config as code setup.

@helakaraa
Copy link
Contributor

In the Tenant/Settings section, we need to enhance the Import Data functionality by adding a new switch toggle button, Wipe Tenant Data in the form.

When the Wipe Tenant Data button is activated:

  • Hide the On Conflict Option
  • Wipe All Data: This action will wipe all data related to the selected tenant, except for user rights/permissions associated with this tenant.

@helakaraa
Copy link
Contributor

helakaraa commented Dec 2, 2024

  • Add info to "WipeData" button
  • Execute in transaction the wipeData in importTenantData
  • UI settings : (Create 4 sections : Manage Permissions, General Settings, Import, Export)

@helakaraa helakaraa linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants