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

Apply RBAC filtering to the foreman tree objects #5665

Merged
merged 3 commits into from
Dec 3, 2015

Conversation

AparnaKarve
Copy link
Contributor

Apply RBAC filtering to the Foreman tree nodes based on the logged-in user's tag settings.

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

@@ -946,6 +944,21 @@ def process_show_list(options = {})
super
end

def find_record(db, id)
Copy link
Member

Choose a reason for hiding this comment

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

suggest renaming db to klass or model

@chessbyte
Copy link
Member

@gtanzillo Please review

@gtanzillo
Copy link
Member

👍 Looks good to me

@miq-bot
Copy link
Member

miq-bot commented Dec 3, 2015

Checked commits AparnaKarve/manageiq@6ba3d19~...a1a5ad1 with ruby 2.2.3, rubocop 0.34.2, and haml-lint 0.13.0
10 files checked, 8 offenses detected

app/controllers/application_controller.rb

app/controllers/provider_foreman_controller.rb

app/presenters/tree_builder.rb

app/presenters/tree_builder_foreman.rb

dclarizio pushed a commit that referenced this pull request Dec 3, 2015
Apply RBAC filtering to the foreman tree objects
@dclarizio dclarizio merged commit 3cf8509 into ManageIQ:master Dec 3, 2015
@dclarizio dclarizio deleted the rbac_foreman branch December 3, 2015 13:11
@dclarizio dclarizio added this to the Sprint 33 Ending Dec 7, 2015 milestone Dec 3, 2015
dclarizio pushed a commit to dclarizio/manageiq that referenced this pull request Dec 16, 2015
BZ1247715 - Apply RBAC filtering to the foreman tree objects

Clean cherry-pick
Upstream PR - ManageIQ#5665

Apply RBAC filtering to the Foreman tree nodes based on the logged-in user's tag settings.

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

See merge request !582
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.

6 participants