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

Create Accounts table in DB #934

Open
rfc2822 opened this issue Jul 24, 2024 · 1 comment
Open

Create Accounts table in DB #934

rfc2822 opened this issue Jul 24, 2024 · 1 comment
Labels
refactoring Internal improvement of existing functions

Comments

@rfc2822
Copy link
Member

rfc2822 commented Jul 24, 2024

Create an Accounts table in DB, which will become the SSOT of the account list in the future.

Context: Currently the AccountManager is used to store the list of accounts and associated data. When the account is lost in the AccountManager, it's also not available in DAVx5. Instead, DAVx5 should contain all information about accounts and be able to create them on demand in the future.

The plan is to

  1. create/update/delete Accounts in the DB whenever a DAVx5 system account is created/updated/deleted,
  2. have a migration that copies DAVx5 system accounts into the Accounts table.

So we have then an up-to-date Accounts table in the DB, but all logic still uses the system accounts. (Scope of this issue).

Then we can gradually move the DB, until we only use the DB and dynamically manage the system accounts. (Scope of future issues)

Depends on #936
Depends on #878

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
Status: Todo
Development

No branches or pull requests

1 participant