Skip to content
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

The message Reserved users cannot be deleted is not cleared #5267

Closed
sultanovich opened this issue Mar 7, 2023 · 1 comment · Fixed by #5631
Closed

The message Reserved users cannot be deleted is not cleared #5267

sultanovich opened this issue Mar 7, 2023 · 1 comment · Fixed by #5631
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@sultanovich
Copy link
Member

Wazuh OpenSearch Rev Security
4.4.0 2.4.1 03 Basic
Browser
Chrome

Description
When creating and then deleting a user, a warning message is displayed that does not disappear.

Preconditions

Steps to reproduce

  1. Navigate to Security
    image

  2. Click on Users
    image

  3. Click on Create user
    image

  4. Enter the required data and click on Apply.
    image

  5. Delete user with delete button
    image
    image

  6. Then you will see the message Reserved users can't be deleted.
    image

  7. If you try to create a new user by selecting the Create user option, the message continues to be displayed.
    image
    image

Expected Result
The message should not appear when deleting an unreserved user or should disappear when changing to open a new menu.

Actual Result
The message is displayed until you change section or refresh the page.

Screenshots

Additional context
The same behavior has been verified using the OVA image and the .tar.gz package.

@sultanovich sultanovich added the type/bug Bug issue label Mar 7, 2023
@AlexRuiz7 AlexRuiz7 changed the title the message Reserved users cannot be deleted is not properly cleared. The message Reserved users cannot be deleted is not cleared Mar 9, 2023
@gdiazlo gdiazlo added the level/task Task issue label Apr 19, 2023
@yenienserrano yenienserrano self-assigned this Jun 28, 2023
@wazuhci wazuhci moved this to In progress in Release 4.7.0 Jun 28, 2023
@yenienserrano
Copy link
Member

Researching why this happens, I saw that opensearch oui has the same problem, so it is a bug in the OUI tooltip component, in Elastic EUI the same thing happens until version 72, which fixed a part making it possible to show only 1 tooltip and not having several tooltips stacked. And in version 42.1 they also made another change that helps this problem.

Elastic EUI

elastic/eui#6520
elastic/eui#5441

Opensearch OUI

image

@yenienserrano yenienserrano linked a pull request Jul 3, 2023 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.7.0 Jul 3, 2023
@wazuhci wazuhci moved this from Pending review to Pending final review in Release 4.7.0 Jul 24, 2023
@wazuhci wazuhci moved this from Pending final review to Done in Release 4.7.0 Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants