Bug 1217426 - RBAC: Missing foreman provider tab for operator,desktop,user_self_service and vm_user role
Summary: RBAC: Missing foreman provider tab for operator,desktop,user_self_service and...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.5.0
Assignee: Aparna Karve
QA Contact: Aziza Karol
URL:
Whiteboard:
: 1227444 (view as bug list)
Depends On:
Blocks: 1223561
TreeView+ depends on / blocked
 
Reported: 2015-04-30 10:51 UTC by Aziza Karol
Modified: 2015-12-08 13:06 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1223561 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:06:47 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
product feature tree (100.08 KB, image/png)
2015-04-30 10:51 UTC, Aziza Karol
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Aziza Karol 2015-04-30 10:51:49 UTC
Created attachment 1020542 [details]
product feature tree

Description of problem:


Version-Release number of selected component (if applicable):
5.4.0.0.24.20150427192818_1fd9e49

How reproducible:
100%

Steps to Reproduce:
In product feature tree for operator,desktop,user_self_service and vm_user role i see that this roles have access to "provider foreman Access Rule" . see attached screenshot. However it does not have access to Accordions.so when the user with above roles tries to login "Provider Foreman" features is not displayed

Actual results:
No provider foreman feature displayed when user with the above roles logs in

Expected results:
The above roles should also have access to "Accordion" for foreman provider feature to be available.

Additional info:

Comment 3 CFME Bot 2015-05-20 21:06:23 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/065effb20aa771bf4072a4a49ccf27406cabe80f

commit 065effb20aa771bf4072a4a49ccf27406cabe80f
Author:     Aparna Karve <akarve>
AuthorDate: Tue May 12 14:22:08 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Tue May 19 16:12:44 2015 -0700

    Fixed Features hierarchy in Foreman
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1217426

 .../app/controllers/application_controller/tags.rb |   4 +-
 .../app/controllers/provider_foreman_controller.rb |  32 ++++---
 vmdb/app/presenters/menu/default_menu.rb           |   4 +-
 vmdb/db/fixtures/miq_product_features.yml          | 104 ++++++++++-----------
 vmdb/db/fixtures/miq_user_roles.yml                |  33 +------
 .../configured_system_foreman_center_tb.yaml       |   4 +-
 .../configured_systems_foreman_center_tb.yaml      |   4 +-
 .../toolbars/provider_foreman_center_tb.yaml       |   8 +-
 .../toolbars/x_configured_system_center_tb.yaml    |   4 +-
 ...ovider_foreman_configured_system_center_tb.yaml |  34 +++++++
 .../provider_foreman_controller_spec.rb            |  94 ++++++++++++++++++-
 vmdb/spec/models/miq_product_feature_spec.rb       |   6 +-
 12 files changed, 215 insertions(+), 116 deletions(-)
 create mode 100644 vmdb/product/toolbars/x_provider_foreman_configured_system_center_tb.yaml

Comment 4 Harpreet Kataria 2015-06-22 16:34:12 UTC
*** Bug 1227444 has been marked as a duplicate of this bug. ***

Comment 5 Aziza Karol 2015-09-21 10:01:43 UTC
All the above roles have access to "Accordion".

Verified in 5.5.0.1-alpha1.20150915151429_2230bd4.

Comment 7 errata-xmlrpc 2015-12-08 13:06:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551


Note You need to log in before you can comment on or make changes to this bug.