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

[BUG] missing roles button doesn't do anything #1490

Closed
derek-ho opened this issue Jun 27, 2023 · 13 comments
Closed

[BUG] missing roles button doesn't do anything #1490

derek-ho opened this issue Jun 27, 2023 · 13 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed, need help from community triaged ux / ui User Experience / Inferface related issues

Comments

@derek-ho
Copy link
Collaborator

derek-ho commented Jun 27, 2023

  • Clear all roles from a user
  • Try to login as that user
  • This button doesn't do anything/link you back to anything
  • Can't login at all in general - is this expected/a bug? Should we prevent people from deleting all roles linked to a user if it breaks like this?
Screen Shot 2023-06-27 at 12 30 36 PM
@derek-ho derek-ho added bug Something isn't working untriaged labels Jun 27, 2023
@derek-ho derek-ho changed the title [BUG] [BUG] missing roles button doesn't do anything Jun 27, 2023
@cwperks
Copy link
Member

cwperks commented Jun 27, 2023

Would it make sense for that button to be a logout button?

@stephen-crawford
Copy link
Contributor

stephen-crawford commented Jul 10, 2023

[Triage] Hi @derek-ho thank you for opening this issue. This issue seems like a good one to get some UX/UI input on. Marking as such.

For the time being we can just remove this missing role notification behavior to work as expected.

@stephen-crawford stephen-crawford added ux / ui User Experience / Inferface related issues triaged help wanted Extra attention is needed, need help from community good first issue Good for newcomers and removed untriaged labels Jul 10, 2023
@kamingleung
Copy link

I also think a Logout button would be more appropriate for this specific case.

Follow-up question: Is this screen only shown to users with 0 roles? What about users that has no Dashboards access (if that possible)?

@leanneeliatra
Copy link
Contributor

leanneeliatra commented Aug 24, 2023

I am starting this issue, please assign me when possible, thanks.

@leanneeliatra
Copy link
Contributor

I can also see the button/page if I directly visit the URL: http://localhost:5601/app/customerror/missing-role
Issue in progress.

@leanneeliatra
Copy link
Contributor

Added a logout action to this button. See PR: #1564
& associated integration tests PR: opensearch-project/opensearch-dashboards-functional-test#830

@leanneeliatra
Copy link
Contributor

leanneeliatra commented Oct 10, 2023

I have merged in the updated changes from the main branch for the associated integration tests.

The fix for the bug is here, the cypress tests are failing on this pipeline. I am in communication about this.
Possible cause of failure

The fix for the associated tests are here. I am awaiting reviews and the cypress tests are failing. I am in communication about this also.
Possible cause of test failure

@davidlago
Copy link

@RyanL1997 could you please lend a hand here? Thanks!

@leanneeliatra
Copy link
Contributor

@RyanL1997 is going to have a look at the cypress tests for me (thank you :) )

@leanneeliatra
Copy link
Contributor

leanneeliatra commented Oct 12, 2023

2 tickets are linked to this:

1. The bug fix itself
#1564

  • @RyanL1997 has tested manually and the cypress tests are passing.
  • I have requested very final reviews (hopefully) from the users the CI called out: cliu123, scrawfor99 and davidlago.
  • I also sent slack messages to our channel (AWS Eliatra) so the reviews should be on the way hopefully.

2. The tests
opensearch-project/opensearch-dashboards-functional-test#830

  • Also very final stages
  • Kavilla has requested can I (Leanne) post screen shots of these test passing and what is ran against?
  • Also could post a screen shot of the dashboard sanity tests result as it will help verify this PR doesn't interfere with other tests.
  • I am on this, I have asked for clarification on how to run the 'dashboard sanity tests'

@leanneeliatra
Copy link
Contributor

leanneeliatra commented Oct 24, 2023

Update:

2 tickets are linked to this:

1. The bug fix itself
Merged
#1564

2. The tests
Need one final review - then it can be merged, I have requested this on the PR and in slack.
opensearch-project/opensearch-dashboards-functional-test#830

@leanneeliatra
Copy link
Contributor

Update

Both the bugfix and the tests are merged now.
This ticket can be moved to done

@davidlago
Copy link

Thanks @leanneeliatra !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed, need help from community triaged ux / ui User Experience / Inferface related issues
Projects
None yet
Development

No branches or pull requests

6 participants