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
{{ message }}
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
User Role cannot be changed from the UI. The error is that user email is in the use already and even if the email is changed with the role the Role of a user does not change.
Expected behavior
User Role could be changed
Actual behavior
It throws a error and the log says the users email is in use already.
context":"ExceptionsHandler","err":{"type":"Error","message":"email already in use","stack":"Error: email already in use\n at UserUpdateService.update (/usr/src/app/dist/service/user/user.update.service.js:37:23)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async UserUpdateMutation.updateUser (/usr/src/app/dist/resolver/user/user.update.mutation.js:38:9)\n at async target (/usr/src/app/node_modules/@nestjs/core/helpers/external-context-creator.js:77:28)\n at async Object.updateUser (/usr/src/app/node_modules/@nestjs/core/helpers/external-proxy.js:9:24)"},"msg":"email already in use"}
Steps to reproduce
Make SuperAdmin with a deployment
Make normal user from the frontend.
Log in with the superadmin and try to change users role
Environment
docker-compose stack.
The text was updated successfully, but these errors were encountered:
What's this issue about?
User Role cannot be changed from the UI. The error is that user email is in the use already and even if the email is changed with the role the Role of a user does not change.
Expected behavior
User Role could be changed
Actual behavior
It throws a error and the log says the users email is in use already.
Steps to reproduce
Environment
docker-compose stack.
The text was updated successfully, but these errors were encountered: