-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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: RBAC hide right menu #16902
fix: RBAC hide right menu #16902
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16902 +/- ##
==========================================
- Coverage 77.03% 76.75% -0.28%
==========================================
Files 1021 1022 +1
Lines 54846 54896 +50
Branches 7481 7484 +3
==========================================
- Hits 42248 42133 -115
- Misses 12351 12515 +164
- Partials 247 248 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
…nto hugh/rbac-rm-3
1a61251
to
7482701
Compare
{navbarRight.user_info_url && ( | ||
<Menu.Item key="info"> | ||
<a href={navbarRight.user_info_url}>{t('Info')}</a> | ||
</Menu.Item> | ||
)} |
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.
Are you intentionally removing the build number? If so, can you describe why on the PR summary?
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.
it was a bad rebase on my part just added it back and fixed the test. The build number is here (https://github.com/apache/superset/pull/16902/files#diff-66167b483c9360910449d7ed1078df9d2b3b2500ea69295657e3692e462c9095R192) now
fcbffdb
to
13e7915
Compare
13e7915
to
1e20585
Compare
This reverts commit 87baac7.
* Revert "fix: RBAC hide right menu (apache#16902)" This reverts commit 87baac7. * fix failing test (cherry picked from commit 5866d5e)
* Revert "fix: RBAC hide right menu (apache#16902)" This reverts commit 87baac7. * fix failing test (cherry picked from commit 5866d5e)
* add provider to right menu * add roles code * bad pull
* Revert "fix: RBAC hide right menu (apache#16902)" This reverts commit 87baac7. * fix failing test
* add provider to right menu * add roles code * bad pull
* Revert "fix: RBAC hide right menu (apache#16902)" This reverts commit 87baac7. * fix failing test
SUMMARY
Hide create button for users that do not have the proper permissions to goto sqllab, create charts, and create dashboards.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION