Is your feature request related to a problem?
For a team with 3 or more members, having just 2 account can be restrictive. Passwords has to be shared (which means they require changing when a member leaves), and the audit log cannot show which member perform the action if they share the same account.
This may also open up opportunities for things like RLS down the line?
Describe the solution you'd like
Only the admin account needs to be created on init. User accounts can then be created from within the app afterwards.
Describe alternatives you've considered
Deploying multiple instances of libredb-studio (not ideal).
Use Case
Providing access to more than 2 users.
Implementation Notes (Optional)
Migrate the existing authentication framework to Better Auth:
The existing TOTP implementation can be changed to use the two factor plugin:
This is a better user experience than needing to generate and extract the secret to put in our environment variables like the PR #779 (addressing #777).
Is your feature request related to a problem?
For a team with 3 or more members, having just 2 account can be restrictive. Passwords has to be shared (which means they require changing when a member leaves), and the audit log cannot show which member perform the action if they share the same account.
This may also open up opportunities for things like RLS down the line?
Describe the solution you'd like
Only the admin account needs to be created on init. User accounts can then be created from within the app afterwards.
Describe alternatives you've considered
Deploying multiple instances of libredb-studio (not ideal).
Use Case
Providing access to more than 2 users.
Implementation Notes (Optional)
Migrate the existing authentication framework to Better Auth:
The existing TOTP implementation can be changed to use the two factor plugin:
This is a better user experience than needing to generate and extract the secret to put in our environment variables like the PR #779 (addressing #777).