[FastAPI Bug] /account/{name}/edit: Account Type (T) input does not affect the account's type on submission
-
I have described the bug in complete detail in the Description section. -
I have specified steps in the Reproduction section.
Description
When editing a user via /account/{name}/edit
, submitting a modified Account Type
input selection does not properly modify the account type of the user being edited.
This feature really needs several different acts, depending on credentials:
- Trusted Users should be able to demote / promote between User <-> Trusted User
- Developers should be able to demote / promote between all account types
- Users should not be able to demote or promote
Reproduction
Edit an account as a Trusted User or Developer. Change the account's Account Type
and submit the form. The Account Type
remains unchanged.
Edited by Kevin Morris