ChildMindInstitute / mindlogger-admin-OLD-Vue

Browser-based interface for administering the MindLogger platform
https://admin-prod.mindlogger.org
Other
4 stars 4 forks source link

The applet's owner can create the user without a nickname and secret ID #1778

Closed MaksimYurys closed 1 year ago

MaksimYurys commented 1 year ago

Preconditions: The owner is logged in at https://admin.mindlogger.org/ The owner has invited users for applet(s)

Steps to reproduce:

  1. Delete the user's secret ID.
  2. Delete the user's nickname.
  3. Go to the "View users" page.
  4. Pay attention to the screen.

Actual result: The applet's owner can create the user without a nickname and secret ID

Expected result: The applet's owner can't create the user without a secret ID

Screenshot: image.png

Environment: Win 10 // Chrome 103 https://admin.mindlogger.org/ mndlgr04@gmail.com // Qqww!1234

DeepDeveloper1996 commented 1 year ago

I have also added validation from backend side in order to require these fields, pull request https://github.com/ChildMindInstitute/mindlogger-backend/pull/1307

natalia-muzyka commented 1 year ago

Verified as fixed:

image.png

Win 10 // Chrome 105.0.5195.127 https://admin-staging.mindlogger.org/