-
Notifications
You must be signed in to change notification settings - Fork 356
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
Check role features in report data request #3350
Check role features in report data request #3350
Conversation
role feature has been inherited from controller and action name and it leads to check role for example ems_block_storage_report_data and it should be ems_block_storage_show_list.
Checked commit lpichler@9890ab0 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codewise looks good.
@lpichler is this gaprindashvili/yes ? |
@mzazrivec it can be, thanks for merging :) @miq-bot gaprindashvili/yes |
@lpichler unrecognized command 'gaprindashvili', ignoring... Accepted commands are: add_label, assign, close_issue, move_issue, remove_label, rm_label, set_milestone |
I am not sure about the nested list case here where a controller for entity A displays a list of entities of type B. In that case we are executing a test for A if I read the code correct. Ping @lpichler |
@lpichler Please add BZ link. |
Fix that on report data request the check on role feauture was skipped
role feature has been inherited from controller and action name and
it leads to check role
for example ems_block_storage_report_data and it should be
ems_block_storage_show_list.
@miq-bot assign @martinpovolny
cc @karelhala
@miq-bot add_label bug