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

Check basic toolbar buttons for rbac feature existence #2208

Closed
miq-bot opened this issue Sep 21, 2017 · 4 comments
Closed

Check basic toolbar buttons for rbac feature existence #2208

miq-bot opened this issue Sep 21, 2017 · 4 comments
Assignees

Comments

@miq-bot
Copy link
Member

miq-bot commented Sep 21, 2017

Since ManageIQ/manageiq#10942 (in euwe), a toolbar button needs a corresponingly named rbac feature to exist, so that it would actually show.

Previously there was no such limitation.

Thus, we should ideally go through all the toolbar buttons which don't explicitly set a class, and check that a feature for these actually exists.

@PanSpagetka would you take care of that please?
Cc: @romanblanco


This issue was moved to this repository from ManageIQ/manageiq#11872, originally opened by @himdel

@himdel
Copy link
Contributor

himdel commented Sep 21, 2017

This is still alive, details in ManageIQ/manageiq#11872 (comment), but this is the list of toolbar button identifiers for which a feature doesn't exist and which aren't using ButtonWithoutRbac as their klass or inheriting from it:

  • automation_manager_delete - inventory_group_center.rb
  • automation_manager_edit - inventory_group_center.rb
  • automation_manager_refresh - inventory_group_center.rb
  • container_build_scan - container_builds_center.rb container_build_center.rb
  • generic_object_definition_create - generic_object_definition_center.rb
  • image_reconfigure - x_template_cloud_center.rb template_clouds_center.rb
  • image_right_size - x_template_cloud_center.rb template_clouds_center.rb
  • instance_resume - vm_clouds_center.rb cloud/instance_operations_button_group_mixin.rb
  • ldap_domain_add - ldap_region_center.rb
  • ldap_domain_delete - ldap_domain_center.rb
  • ldap_domain_edit - ldap_domain_center.rb
  • ldap_region_add - ldap_regions_center.rb
  • ldap_region_delete - ldap_region_center.rb ldap_regions_center.rb
  • ldap_region_edit - ldap_region_center.rb ldap_regions_center.rb
  • miq_request_approve - miq_request_center.rb
  • miq_request_deny - miq_request_center.rb
  • provider_foreman_configured_system_tag - x_foreman_configured_system_center.rb x_provider_foreman_foreman_configured_system_center.rb
  • rbac_project_add - tenant_center.rb
  • reload - saved_reports_center.rb
  • schedule_run_now - miq_schedules_center.rb miq_schedule_center.rb

We should go through all of these to find out if they work and how, and fix those which don't.

@PanSpagetka
Copy link
Contributor

PanSpagetka commented Sep 29, 2017

@romanblanco
Copy link
Member

@himdel can this issue be closed now?

@himdel
Copy link
Contributor

himdel commented Nov 29, 2017

ManageIQ/manageiq#16027 is merged, closing :)

@himdel himdel closed this as completed Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants