Skip to content

Conversation

@kyoto
Copy link
Member

@kyoto kyoto commented Jan 22, 2019

Hide the "Alerts" and "Silences" sidebar links if the user doesn't have
the necessary RBAC permissions to access those pages (GET for
namespaces).

Fixes https://jira.coreos.com/browse/MON-460

/cc @spadgett

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 22, 2019
Hide the "Alerts", "Silences", "Metrics" and "Dashboards" sidebar links
if the user doesn't have the necessary RBAC permissions to access those
pages (GET for namespaces).
@kyoto kyoto force-pushed the monitoring-hide-monitoring-sidebar branch from 0fab7a4 to de05374 Compare January 25, 2019 05:30
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 25, 2019
@kyoto kyoto force-pushed the monitoring-hide-monitoring-sidebar branch from de05374 to 075caba Compare January 25, 2019 05:30
@kyoto
Copy link
Member Author

kyoto commented Jan 25, 2019

FYI @mxinden, @brancz

@kyoto
Copy link
Member Author

kyoto commented Jan 25, 2019

Thanks @spadgett, I addressed your comments.

@kyoto
Copy link
Member Author

kyoto commented Jan 25, 2019

/retest

Copy link
Member

@spadgett spadgett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 25, 2019
@openshift-merge-robot openshift-merge-robot merged commit 5070df1 into openshift:master Jan 25, 2019
@kyoto kyoto deleted the monitoring-hide-monitoring-sidebar branch January 26, 2019 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants