ncc-erp / ncc-erp-workflow-w2-ui

0 stars 0 forks source link

[BUG] Admin cannot update user info #299

Open huyendangthithanh opened 3 days ago

huyendangthithanh commented 3 days ago

Steps to reproduce

  1. Log in as admin
  2. Navigate to User Management page
  3. Edit a user's info then submit

    Actual result

    "Update failed!", "You request is not valid!" error messages display

https://github.com/user-attachments/assets/2afc6756-a844-436c-b31d-8eaa63940890

Expected result

Admin can update user info with valid data

thiendangncc commented 11 hours ago

fix bugs: 16:00 demo Huyền.

huyendangthithanh commented 11 hours ago

Demo 21/11

Bug

  1. Users with > 1 role when update info will be missing role

Task

  1. Add confirmation log out when admin update admin info
    • Message: Updated successfully. Log out to apply changes?

Option: Yes (log out then navigate login page)

Cancel: Cancel (stay log in)

Note: Info will be update the next time log in (admin +user)