-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Some system roles missing authorization.openshift.io/system-only annotation #16862
Comments
Sounds like the roles in |
I think this made sense back when we first introduced it, but it seems like there are too many parties adding roles now to keep up. It might make sense to go back to a whitelist of roles in the config file of the console (or we just hard-code it in the membership module), and allow role authors to add an annotation to |
+1 for whitelist. you will never get all role creators to annotate. |
Back to where we started :) |
should we be whitelisting on the roles using an annotation, or whitelisting in the console using an extension with sane defaults |
Perhaps just a list in |
@benjaminapetersen wouldn't be in config.js, it would be in constants.js if we do it in the console code. I'm fine with going back to that. Just means @enj needs to let us know when there is a new default role that makes sense to expose to users. I expect this will not be often... |
Sorry, meant |
Looks like |
…le-whitelist Automatic merge from submit-queue. Update membership filter to use MEMBERSHIP_WHITELIST in Constants.js Moving back to using a simple whitelist via [origin issue 16862](openshift/origin#16862) fixes [origin issue 16862](openshift/origin#16862) History: - issue #14411 - PR #14510, - PR #15241 - [PR 11328](openshift/origin#11328) (original) At this point ignoring the annotation `systemOnly` entirely. @jwforres @spadgett @enj
@benjaminapetersen please open an origin PR for 3.8 to gut all the system-only stuff. |
Some roles are showing up in the web console membership page that probably shouldn't because they're missing the
authorization.openshift.io/system-only
annotation. Seeservice-catalog-controller
shouldn't be there and maybe some others. The console will hide roles with that annotation unless a "Show system roles" checkbox is checked.cc @benjaminapetersen @enj @pmorie
Version
oc v3.7.0-alpha.1+572fb85-1047
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth
Server https://127.0.0.1:8443
openshift v3.7.0-alpha.1+572fb85-1047
kubernetes v1.7.6+a08f5eeb62
The text was updated successfully, but these errors were encountered: