Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Admin functions #148

Open
ttattl opened this issue Jun 23, 2022 · 7 comments
Open

Admin functions #148

ttattl opened this issue Jun 23, 2022 · 7 comments
Assignees
Labels
backend 🏭 Issues related to back-end feature 💥 New feature or request

Comments

@ttattl
Copy link
Collaborator

ttattl commented Jun 23, 2022

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

  • Deleting ACC,
  • Remove ACC data, project
  • Modify limitations such as the number of Aug or Pre-process
  • Backup/migrate data (for instance, when a product is released, we add a new database (or change the existing database structure) instead of resetting all).

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

@ttattl ttattl added the backend 🏭 Issues related to back-end label Jun 23, 2022
@ttattl ttattl self-assigned this Jun 23, 2022
@pcaversaccio pcaversaccio added feature 💥 New feature or request frontend 🖥 Issues related to front-end labels Jun 23, 2022
@pcaversaccio
Copy link
Member

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
Copy link
Collaborator Author

ttattl commented Jun 23, 2022

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
Copy link
Member

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

@ttattl
Copy link
Collaborator Author

ttattl commented Jun 23, 2022

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

  • Backup/migrate data (for instance, when a product is released, we add a new database (or change the existing database structure) instead of resetting all).
    What do you think?

@pcaversaccio
Copy link
Member

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
Copy link
Collaborator Author

ttattl commented Jun 23, 2022

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
Copy link
Member

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

@ttattl ttattl changed the title Write some admin functions to support some admin actions Admin functions Jun 23, 2022
@ttattl ttattl transferred this issue from daita-technologies/interface Jun 23, 2022
@pcaversaccio pcaversaccio removed the frontend 🖥 Issues related to front-end label Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend 🏭 Issues related to back-end feature 💥 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants