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

Adds delete for person + Refactoring #991

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

vmarseguerra
Copy link
Contributor

Adds the possibility to delete permanently Caver
When permanently deleting, there is a possibility to merge the linked entities to another entity of the same type.

In Grottocenter there are 2 types of user (person):

  • Caver: User who registered, have a login and password (~3000 users)
  • Author: User created automatically, attached to documents, email ends with '@mail.no' and does not have a password (~56600 users)

There is no soft delete for caver, deletion is permanent and no restore is possible.

  • Only administrators can delete a caver user.
  • Only moderators can delete an author user.

Refactoring and cleanup were also made:

  • The caver edit page is now a single form instead of a multistep form
  • A button to view the caver full page was added in the dashboard

In order to test this, the PR linked in the API (GrottoCenter/grottocenter-api#1316) needs to be deployed

Base automatically changed from feat-delete-document to feat-delete-cave-entrance September 23, 2024 14:00
Base automatically changed from feat-delete-cave-entrance to feat-delete-grotto-massif September 23, 2024 14:01
Base automatically changed from feat-delete-grotto-massif to feat-delete-simple-entities September 23, 2024 14:02
Base automatically changed from feat-delete-simple-entities to develop September 23, 2024 14:56
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-rock-0d4f87503-991.westeurope.azurestaticapps.net

@urien
Copy link
Contributor

urien commented Sep 23, 2024

Le fonctionnement proposé est parfait.
Merci Vincent

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