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

[Gaprindashvili] converge UI and API privs for request/report admins #4489

Closed
wants to merge 2 commits into from

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Aug 16, 2018

This is a straightforward backport of #3993 (minor conflict) and #4487 (no conflicts)

This is part of ManageIQ/manageiq#17849 (the G backport version: ManageIQ/manageiq#17849 proper )

https://bugzilla.redhat.com/show_bug.cgi?id=1608554

use helper method instead of calling out the miq_request_approval role
(yes, this is being corrected in this commit)

https://bugzilla.redhat.com/show_bug.cgi?id=1608554
@kbrock kbrock changed the title [Gaprindashvili] [Gaprindashvili] converge UI and API privs for request/report admins Aug 16, 2018
@miq-bot
Copy link
Member

miq-bot commented Aug 16, 2018

Checked commits kbrock/manageiq-ui-classic@4217f7c~...912f6de with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
11 files checked, 5 offenses detected

app/controllers/application_controller/current_user.rb

  • 💣 💥 🔥 🚒 - Line 24, Col 17 - Lint/Syntax - unexpected token error
    (Using Ruby 2.2 parser; configure using TargetRubyVersion parameter, under AllCops)

app/controllers/configuration_controller.rb

app/controllers/report_controller/menus.rb

spec/helpers/application_helper/buttons/miq_request_delete_spec.rb

@mzazrivec
Copy link
Contributor

@kbrock Could you please fix the rubocop warnings above? Thanks.

@mzazrivec
Copy link
Contributor

@kbrock The CI failures seem related.

@kbrock
Copy link
Member Author

kbrock commented Aug 22, 2018

Thanks @mzazrivec This is dependent upon a ManageIQ/manageiq#17849 that was not merged - and it looks like it will not be merged.

Closing this - we can revisit if priorities change

@kbrock kbrock closed this Aug 22, 2018
@kbrock kbrock deleted the bz_1608556-g branch August 22, 2018 18:31
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.

3 participants