User settings page #173
readmemyrights
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
We could rename "admin" into a "superadmin" and his only role would be to create new "admin" accounts using the secret. Afterwards, we could implement admin sessions like we did for users (with stricter rules for password creation and possibly 2FA). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As of writing this, administration of users is split up into multiple pages like
/admin/user/disable,/admin/user/schedule, and so on. Each page asks you to type in a username, secret, and other information to change the users settings.The trouble with this approach is that there is no way for the page to know which user is going to be changed before the request is sent. This makes it impossible to prefill fields based on current user settings, mistakes are likelier when typing in a username, and there is a lot of duplication within the code used to implement the pages.
The idea is to have a single page such as
/admin/user/[id]that would display the settings for a user, prefill fields with current settings,, and have a page/admin/userwhich would display a list of users and a search box to look through them.An incomplete list of questions:
Beta Was this translation helpful? Give feedback.
All reactions