GEWIS / sudosos-backend

SudoSOS is a Node.js-based Bar and POS system made for study association GEWIS.
https://sudosos.gewis.nl
GNU Affero General Public License v3.0
6 stars 3 forks source link

[Feature] Transform deleted MEMBER accounts to LOCAL accounts #351

Open Yoronex opened 1 month ago

Yoronex commented 1 month ago

What would you like?

See title.

Why is this needed?

In https://github.com/GEWIS/sudosos-backend/issues/350, we discuss the plans on how to handle people leaving GEWIS. However, a few years after their leaving, they might come back to drink some beers (for example at an ADA VrijMiBo). These people want to use SudoSOS, yet their accounts no longer "exist". SudoSOS might still have this information, so it is nicer to reuse an "old" account than to create a brand new one, as this avoids duplicates.

How could it be implemented?

We should implement a workflow that transforms MEMBER users that are deleted into LOCAL users, so they can still use SudoSOS as external users (and with their old GEWIS ID at the POS).

Note that LOCAL accounts should not be able to go into debt, so this should be disabled during the transformation.

Other information

No response

SvenMokveldje commented 1 month ago

This feature has already been requested in #106, we might want to remove one?