mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 18:18:47 +01:00
The `add_user` endpoint was querying the database at import time, to decide whether to enforce the `users.write` scope or not. This is problematic because the database might not be ready at import time. Also, the decided `scopes` was being maintained for the entire application lifetime, which is not ideal, as users can be created without having the `users.write` scope, until the application is restarted.