Add description field to admin's new user form
Situation
Right now, user description can only be filled if a user account is created by asking for it and then enabled. When a user account is created directly by an admin, there is no way to add a note on who that person/group is, thus, the description field remains empty.
It would be nice to be able to leave a couple of notes on a new user, so that later on time, or other admins, can remember or understand who that user account and email address belongs to. This can be useful when removing unused user accounts, for example.
An sketch
(new field in italics) I drawn it like a text-field but maybe there's a text-box that would be more appropiate.
Files involved
-
https://framagit.org/les/gancio/-/blob/master/components/admin/Users.vue
- add field around line 22, between the email field and the warning
- modify the
createUser
function at line 112 - check changes at /admin?tab=users
- any other?