You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The allow run_as checkbox could be replaced by a switch. The text is too big, and its location does not make much sense.
When a new user is created, the run_as option is shown as a number (0 or 1) instead of a boolean (true or false).
The run_as option could be improved to show a check or cross icon instead of true or false, as done on the Settings < API section.
In order to create a new user, 4 requests are performed, and some of them are not required.
POST /security/users : required, creates a new user with username:password.
PUT /security/users/{user_id]/run_as : only required if the run_as checkbox has been checked. Otherwise, the run_as option on the new user has been set to false by default on the previous request, and thus, it is not needed to perform a request to set the run_as to false again.
POST /security/users/100/roles?role_ids=[{roles_ids}] : same as before. If no role is specified during the creation of the user, then this request is not needed.
The UI to create a new user can be greatly improved.
Using a warning toast to describe the password's requirements does not look like the better approach. IMO, it could be replaced with a list somewhere on the UI, as there is plenty of unused space. Ideally, a real-time password checker could be used. Example here
The password fields could use a toggle function (button) to show the password in legible text, as seen here.
The UI can be re-distributed better, as there is too much empty space on the left (the display is too vertical)
Alternatives
Improve the workflow for an user creation, performing only the requests strictly necessary.
Improve the UI.
The text was updated successfully, but these errors were encountered:
Improve the
Security < Users
viewThe
allow run_as
checkbox could be replaced by a switch. The text is too big, and its location does not make much sense.When a new user is created, the
run_as
option is shown as a number (0 or 1) instead of a boolean (true or false).The
run_as
option could be improved to show a check or cross icon instead of true or false, as done on theSettings < API
section.In order to create a new user, 4 requests are performed, and some of them are not required.
POST /security/users
: required, creates a new user with username:password.PUT /security/users/{user_id]/run_as
: only required if therun_as
checkbox has been checked. Otherwise, therun_as
option on the new user has been set to false by default on the previous request, and thus, it is not needed to perform a request to set therun_as
to false again.POST /security/users/100/roles?role_ids=[{roles_ids}]
: same as before. If no role is specified during the creation of the user, then this request is not needed.The UI to create a new user can be greatly improved.
Alternatives
The text was updated successfully, but these errors were encountered: