Bug 1217426

Summary: RBAC: Missing foreman provider tab for operator,desktop,user_self_service and vm_user role
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4.0CC: hkataria, jhardy, mpovolny, obarenbo, sean.myers
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1223561 (view as bug list) Environment:
Last Closed: 2015-12-08 13:06:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1223561    
Attachments:
Description Flags
product feature tree none

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