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

Update permissions template #8200

Merged
merged 2 commits into from
Apr 25, 2016

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented Apr 22, 2016

I sort of need this as a pre-req for #8192 mainly so we don't get conflicts when backporting. This PR adds a spec verifying that the permissions.tmpl.yml is always up to date at least for the ems-type parts. I'm not sure how to add a spec for the rest of the permissions file.

@chessbyte @jrafanie Please review. Sorry the diff is so nasty... the second commit is really the meat of the change. the first commit is a test refactoring, so I didn't have to copy/paste all of the setup for stubbing permissions.yml over to the ext_management_systems_spec.rb. The setup is quite a bit and it was ridiculous to copy over.

Also sorted it because it was impossible to compare otherwise.  The
actual added values are

- ems-type:ansible_tower_configuration
- ems-type:azure_network
- ems-type:ec2_network
- ems-type:hawkular
@Fryguy Fryguy force-pushed the update_permissions_template branch from 9ac03b0 to bdcfb60 Compare April 22, 2016 21:38
@miq-bot
Copy link
Member

miq-bot commented Apr 22, 2016

Checked commits Fryguy/manageiq@e0c0032~...bdcfb60 with ruby 2.2.3, rubocop 0.37.2, and haml-lint 0.16.1
3 files checked, 0 offenses detected
Everything looks good. 👍

@jrafanie
Copy link
Member

LGTM, I'm not sure how to test for other out of date features.

@jrafanie jrafanie merged commit 74e87d9 into ManageIQ:master Apr 25, 2016
@jrafanie jrafanie added this to the Sprint 40 Ending May 9, 2016 milestone Apr 25, 2016
@Fryguy Fryguy deleted the update_permissions_template branch April 25, 2016 15:04
Fryguy pushed a commit that referenced this pull request Apr 25, 2016
Update permissions template
(cherry picked from commit 74e87d9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants