From 15c4c787bb1f239d8247a1c168deb85e962a0ca3 Mon Sep 17 00:00:00 2001 From: Martin Povolny Date: Sat, 4 Nov 2017 12:59:03 +0100 Subject: [PATCH] Fix the pre-defined Auditor role's permissins. * Add miq_template_view and remove it's children. * Replace miq_template_snapshot with miq_template_snapshot_view. * Replace ems_cluster_show and other with ems_cluster_view * Add infra_networking_view and other * Add image_view and other * Add instance_view and other * Add host_view and other --- db/fixtures/miq_user_roles.yml | 37 ++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/db/fixtures/miq_user_roles.yml b/db/fixtures/miq_user_roles.yml index 071d9774bf99..01bce5f85509 100644 --- a/db/fixtures/miq_user_roles.yml +++ b/db/fixtures/miq_user_roles.yml @@ -116,6 +116,7 @@ - ems_physical_infra_console - ems_physical_infra_tag - ems_physical_infra_view + - ems_physical_infra_tag - host_show - host_show_list - host_perf @@ -187,7 +188,6 @@ :read_only: true :miq_product_feature_identifiers: - about - - all_vm_rules - automation_manager - embedded_automation_manager - bottlenecks @@ -195,26 +195,33 @@ - chargeback - chargeback_reports - customization_template_view - - iso_datastore_view - control_explorer_view - dashboard - - ems_cluster_show - - ems_cluster_show_list - - ems_cluster_perf + - ems_cluster_view - ems_cluster_tag - - ems_cluster_timeline - - ems_infra_show - - ems_infra_show_list + - ems_infra_view - ems_infra_tag - - ems_infra_timeline + - ems_infra_check_compliance - ems_physical_infra_console - ems_physical_infra_tag - ems_physical_infra_view - host_show - host_show_list - host_perf + - infra_networking_view + - infra_networking_tag + - instance_view + - instance_check_compliance + - instance_policy_sim + - instance_tag + - image_view + - image_check_compliance + - image_policy_sim + - image_tag + - iso_datastore_view + - host_view + - host_check_compliance - host_tag - - host_timeline - miq_task_my_ui - my_settings_default_views - my_settings_time_profiles @@ -224,14 +231,11 @@ - miq_report_saved_reports - miq_report_schedules - miq_report_view + - miq_template_view - miq_template_check_compliance - - miq_template_perf - miq_template_policy_sim - - miq_template_show - - miq_template_show_list - - miq_template_snapshot + - miq_template_snapshot_view - miq_template_tag - - miq_template_timeline - physical_infra_topology_view - physical_server_view - planning @@ -254,8 +258,11 @@ - timeline - usage - utilization + - vm_view - vm_check_compliance + - vm_compare - vm_console + - vm_drift - vm_webmks_console - vm_cloud_explorer - vm_explorer