daita-technologies / backend

Backend system for the DAITA platform.
http://app.daita.tech
GNU Affero General Public License v3.0
3 stars 1 forks source link

Admin functions #148

Open ttattl opened 2 years ago

ttattl commented 2 years ago

Write some admin functions to support some admin actions. For instance, we can dev some admin functions for

Building a web admin is needed but not in near future (I think)

pcaversaccio commented 2 years ago

You are raising an important point here - another question is whether we should allow users to delete their accounts (this is not possible currently). I do think this should be possible and should be implemented over the next months.

ttattl commented 2 years ago

I think we create a place for a request, and then, we will help them to do that semi-auto. We will not accept them to remove their acc immediately.

pcaversaccio commented 2 years ago

Yeah, that's a sound interim solution - later on, we can build this feature into a "Danger Zone" of the user settings.

ttattl commented 2 years ago

@pcaversaccio for this case I think we need to do first:

pcaversaccio commented 2 years ago

what do you mean exactly? If a user confirms the deletion of the account we erase all user-related data including database entries - I think however we can give the users a recovery period of 14 days.

ttattl commented 2 years ago

I mean whenever we have a new version that needs to release. Currently, we will delete all user data. However, in the future, we cannot. We need to backup and also migrate with the new database structure (if happen)

pcaversaccio commented 2 years ago

yes, migration & backup is important - from now on we should not anymore delete user data.