From 75ff25886f1a372da192afd57cee60e3357fb7de Mon Sep 17 00:00:00 2001 From: Harpreet Kataria Date: Tue, 19 May 2020 22:47:09 -0400 Subject: [PATCH 1/2] Added/Updated existing chargeback reports features - Added new features for list/show tasks. - Updated features ids of existing features to match new controller name. --- db/fixtures/miq_product_features.yml | 57 +++++++++++++++++----------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/db/fixtures/miq_product_features.yml b/db/fixtures/miq_product_features.yml index af80bfec52b..e4613b62b19 100644 --- a/db/fixtures/miq_product_features.yml +++ b/db/fixtures/miq_product_features.yml @@ -1712,30 +1712,43 @@ :identifier: chargeback :children: - :name: Reports - :description: Reports Accordion + :description: Everything under Reports :feature_type: node :identifier: chargeback_reports :children: - - :name: Download CSV Format - :description: Download Report in CSV Format - :feature_type: admin - :hidden: true - :identifier: chargeback_download_csv - - :name: Download PDF Format - :description: Download Report in PDF Format - :feature_type: admin - :hidden: true - :identifier: chargeback_download_pdf - - :name: Download Text Format - :description: Download Report in Text Format - :feature_type: admin - :hidden: true - :identifier: chargeback_download_text - - :name: Show Full Screen Report - :description: Show Full Screen Report - :feature_type: admin - :hidden: true - :identifier: chargeback_report_only + - :name: View + :description: View Reports + :feature_type: node + :identifier: chargeback_reports_view + :children: + - :name: List + :description: Display Lists of Chargeback Saved Reports + :feature_type: view + :identifier: chargeback_reports_show_list + - :name: Show + :description: Display Individual Chargeback Saved Report + :feature_type: view + :identifier: chargeback_reports_show + - :name: Download CSV Format + :description: Download Report in CSV Format + :feature_type: view + :hidden: true + :identifier: chargeback_reports_download_csv + - :name: Download PDF Format + :description: Download Report in PDF Format + :feature_type: view + :hidden: true + :identifier: chargeback_reports_download_pdf + - :name: Download Text Format + :description: Download Report in Text Format + :feature_type: view + :hidden: true + :identifier: chargeback_reports_download_text + - :name: Show Full Screen Report + :description: Show Full Screen Report + :feature_type: view + :hidden: true + :identifier: chargeback_reports_report_only - :name: Rates :description: Everything under Rates :feature_type: node @@ -6544,7 +6557,7 @@ - :name: Chargeback Measures :description: Chargeback Rate measures Accordion :feature_type: node - :identifier: measure + :identifier: measure # SUI - :name: Service UI From 502e9a0220b4a0c286e986e1e24e3102b3d0a45e Mon Sep 17 00:00:00 2001 From: Harpreet Kataria Date: Wed, 20 May 2020 00:00:38 -0400 Subject: [PATCH 2/2] Updated start page url for chargeback reports and feature id for the url --- db/fixtures/miq_shortcuts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/fixtures/miq_shortcuts.yml b/db/fixtures/miq_shortcuts.yml index 0dcd474b64c..9779e9534a0 100644 --- a/db/fixtures/miq_shortcuts.yml +++ b/db/fixtures/miq_shortcuts.yml @@ -16,8 +16,8 @@ :startup: true - :name: chargeback_reports :description: Overview / Chargeback / Reports - :url: /chargeback_reports/explorer - :rbac_feature_name: chargeback_reports + :url: /chargeback_report/show_list + :rbac_feature_name: chargeback_reports_show_list :startup: true - :name: chargeback_rates :description: Overview / Chargeback / Rates