New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't recreate a user with an email address that was previously removed #194
Labels
component: api
The API component
component: ui
The UI component
source: community
Submitted by the community
status: qa
Status Quality Assurance
type: bug
Something isn't working
Comments
ar3diu
added
status: triage
Items needing triage
type: bug
Something isn't working
labels
Jun 16, 2022
ar3diu
changed the title
[BUG] Can't recreate a user with the same email address after it's removed
[BUG] Can't recreate a user with an email address that was previously removed
Jun 16, 2022
For example, in my case, I accidentally deleted it. Otherwise, you're right, there would be no reason to do it while you can edit it. |
Okay yeah we soft delete users because they are referenced somewhere in the system I agree the email should be changed so that it can't be used and then another user can be created what was intended to happen was allow you to restore the deleted users and I didn't add it yet so I will bake that into the next release. For now you can go into elastic and actually update the user directly to not deleted by changing the deleted field I believe it's been a while since I looked at it
Brian Carroll
…________________________________
From: Andrei R ***@***.***>
Sent: Thursday, June 16, 2022 7:52:01 AM
To: reflexsoar/reflex-api ***@***.***>
Cc: Brian Carroll ***@***.***>; Comment ***@***.***>
Subject: Re: [reflexsoar/reflex-api] [BUG] Can't recreate a user with an email address that was previously removed (Issue #194)
For example, in my case, I accidentally deleted it. Otherwise, you're right, there would be no reason to do it while you can edit it.
—
Reply to this email directly, view it on GitHub<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Freflexsoar%2Freflex-api%2Fissues%2F194%23issuecomment-1157570708&data=05%7C01%7Cbcarroll%40zeroonesecurity.com%7C9c8bb1d873a94f93e87908da4f8ea03e%7Ca68b09e0c76f40ccb262ae8575779491%7C0%7C0%7C637909771241703179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WWoWp7fp9OpyrwNrQNwvepEHvc844ZbhtvRLY9J6n9A%3D&reserved=0>, or unsubscribe<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAMAOVJ6HJZPUH25VKI7F5DVPMIODANCNFSM5Y53OCRQ&data=05%7C01%7Cbcarroll%40zeroonesecurity.com%7C9c8bb1d873a94f93e87908da4f8ea03e%7Ca68b09e0c76f40ccb262ae8575779491%7C0%7C0%7C637909771241703179%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A3zSI0mIqDz7wUmYasjQKzCIvIam%2BkkJ5kkkufDhVAg%3D&reserved=0>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sounds good. Thanks for the information! 😀 |
n3tsurge
added
component: api
The API component
component: ui
The UI component
status: in progress
An item that is currently being worked.
source: community
Submitted by the community
status: qa
Status Quality Assurance
and removed
status: triage
Items needing triage
status: in progress
An item that is currently being worked.
labels
Jun 16, 2022
Meanwhile, if anyone is looking for a fix, as Brian suggested:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component: api
The API component
component: ui
The UI component
source: community
Submitted by the community
status: qa
Status Quality Assurance
type: bug
Something isn't working
Describe the bug
It seems that you cannot reuse an email address for a new user account if it was part of a user account that was deleted.
To Reproduce
Steps to reproduce the behavior:
User with this e-mail already exists.
Expected behavior
You should be able to reuse an email address once you remove the user account associated with it.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: