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

Remove :match_via_decendants for ConfiguredSystem::ConfiguredSystem #17430

Merged

Conversation

tumido
Copy link
Member

@tumido tumido commented May 17, 2018

Let's clean up nonsense Rbac requests for :match_via_descendants since ConfiguredSystem::ConfiguredSystem is not a valid relation. This only causes evm.log warning pollution:

WARN -- : MIQ(Rbac::Filterer#lookup_method_for_descendant_class) could not find method name for ConfiguredSystem::ConfiguredSystem

For valid relations, please consult Rbac's filterer.rb

Partially fixes: bug 1565266
Related: ManageIQ/manageiq-ui-classic#3952

@miq-bot add_label rbac, bug

@miq-bot
Copy link
Member

miq-bot commented May 17, 2018

Checked commit tumido@dfa8328 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🍰

@tumido
Copy link
Member Author

tumido commented May 21, 2018

@miq-bot add_label gaprindashvili/yes

@tumido
Copy link
Member Author

tumido commented May 21, 2018

@lpichler, can you please review this one as well? 🍺

@lpichler
Copy link
Contributor

@miq-bot assign @gtanzillo

Copy link
Contributor

@lpichler lpichler left a comment

Choose a reason for hiding this comment

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

very good 👍 it doesn't make sense to filter configured system according to relation toconfigured systems

(🍺 for me
🍺 and for reviewer & merger)

@tumido
Copy link
Member Author

tumido commented May 29, 2018

Sorry to bump, can I get this one reviewed/merged, so the bug can be resolved? 😉 @lpichler @gtanzillo

@gtanzillo gtanzillo added this to the Sprint 87 Ending Jun 4, 2018 milestone May 29, 2018
@gtanzillo gtanzillo merged commit 6619a2a into ManageIQ:master May 29, 2018
@tumido tumido deleted the remove_match_via_descendants_nonsense branch June 26, 2018 14:17
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.

4 participants