It's possible that the only admin loses their password. Gotify should provide a way to recover the admin account, or create a new admin account.
Options
- CLI commands for changing the password, creating a new user, changing admin status on user
- Consume a username:passwordhash file, and then update the username:passwordhash pairs
I think we can ignore the possibility of losing the last admin due to OIDC login demoting a user. If permissions are handled by the IdP, then the admin should be able to configure the IdP to give a user admin permissions on next login.
It's possible that the only admin loses their password. Gotify should provide a way to recover the admin account, or create a new admin account.
Options
I think we can ignore the possibility of losing the last admin due to OIDC login demoting a user. If permissions are handled by the IdP, then the admin should be able to configure the IdP to give a user admin permissions on next login.