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

Extend allowed_cloud_network for providers that don't support allowed_ci #197

Merged
merged 1 commit into from
Jan 17, 2018

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Jan 16, 2018

PR ManageIQ/manageiq#16811 and ManageIQ/manageiq#16688 adds RBAC filtering to allowed_cloud_network base class but two of the providers don't support the allowed_ci method so for them we need to overwrite the allowed_cloud_networks, to just return allowed_cloud_networks. Which this does! (Per ManageIQ/manageiq#16824 (comment))

Fixes issue caused by fix of https://bugzilla.redhat.com/show_bug.cgi?id=1533277
(Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1535189)

Related to:

ManageIQ/manageiq-providers-google#41

@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 16, 2018

@miq-bot assign @gmcculloug

@d-m-u d-m-u changed the title Extend allowed_cloud_network for providers that don't support allowed_ci [WIP] Extend allowed_cloud_network for providers that don't support allowed_ci Jan 16, 2018
@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 16, 2018

@Ladas @syncrou can you review this please?

@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 16, 2018

@miq-bot add_label bug

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

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

Important thing is, that this fixes the CI. So I am fine merging this and backporting this, so we get also g-release CI in order.

We could then abstract the common code to base class, probably as upstream only PR?

@aufi this is basically a revert of Ladas/manageiq@2784dce#diff-affc070fa31fb03b3d1afa85434e8f3d

@Ladas Ladas assigned aufi and unassigned gmcculloug Jan 16, 2018
@d-m-u d-m-u changed the title [WIP] Extend allowed_cloud_network for providers that don't support allowed_ci Extend allowed_cloud_network for providers that don't support allowed_ci Jan 16, 2018
@miq-bot miq-bot removed the wip label Jan 16, 2018
@d-m-u d-m-u force-pushed the fixing_allowed_cloud_networks branch from cf8d00e to f2cb328 Compare January 16, 2018 21:02
@miq-bot
Copy link
Member

miq-bot commented Jan 16, 2018

Checked commit d-m-u@f2cb328 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍪

@d-m-u
Copy link
Contributor Author

d-m-u commented Jan 17, 2018

@aufi can this please get reviewed again/merged ASAP?

Copy link
Contributor

@syncrou syncrou left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@mansam mansam merged commit fa73fa5 into ManageIQ:master Jan 17, 2018
d-m-u added a commit to d-m-u/manageiq-providers-openstack that referenced this pull request Jan 18, 2018
@gmcculloug
Copy link
Member

Removed the blocker and gaprindashvili/yes flags as this PR is being reverted in PR #202

@aufi aufi added this to the Sprint 78 Ending Jan 29, 2018 milestone Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants