-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix(dashboard): show correct roles for dashboard access dropdown #21549
Conversation
Codecov Report
@@ Coverage Diff @@
## master #21549 +/- ##
==========================================
- Coverage 66.68% 66.65% -0.03%
==========================================
Files 1793 1793
Lines 68538 68627 +89
Branches 7282 7309 +27
==========================================
+ Hits 45702 45745 +43
- Misses 20974 21015 +41
- Partials 1862 1867 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@mayurnewase @zephyring #20837 also modified the owners in |
@michael-s-molina datasource editor only has owner selection, so it correctly filters out inactive users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks. |
SUMMARY
Fixes: #21538
regression from #20837
TESTING INSTRUCTIONS
Enable
DASHBOARD_RBAC
feature flagAdd 1 role
Add 1 active and 1 inactive user
Create 1 dashboard
Click on edit dashboard from actions
Check owners dropdown shows only active users
Check roles dropdown shows all roles available
ADDITIONAL INFORMATION