Bug 1684472

Summary: role with all Product Features checked, throws RbacPrivilegeException
Product: Red Hat CloudForms Management Engine Reporter: Gellert Kis <gekis>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Devidas Gaikwad <dgaikwad>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.0CC: abellott, bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo, sigbjorn, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1693720 (view as bug list) Environment:
Last Closed: 2019-12-13 14:57:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1692488, 1693720    
Attachments:
Description Flags
redhat_best_placement_with_scope.rb none

Comment 5 CFME Bot 2019-03-22 08:52:11 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/37a443f8d31637630307a27cc1a4d7e40ec4538c
commit 37a443f8d31637630307a27cc1a4d7e40ec4538c
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Mar 20 13:54:05 2019 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Mar 20 13:54:05 2019 -0400

    Fixed condition to use correct feature id

    Fixed condition to use correct feature id when goign to tagging from summary screen directly. https://github.com/ManageIQ/manageiq-ui-classic/pull/4843 did not cover all scenarios.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1684472

 app/controllers/application_controller/tags.rb | 2 +-
 spec/controllers/application_controller/tags_spec.rb | 25 +-
 2 files changed, 22 insertions(+), 5 deletions(-)

Comment 8 Tina Fitzgerald 2019-03-29 18:24:57 UTC
Hi Gellert,

Can you explain more about how the storage is getting selected? Is it part of the service_template, or best_fit?
Can you provide logs showing the error?

Thanks,
Tina

Comment 15 Sigbjorn Lie 2019-04-08 11:26:01 UTC
Tina,

The "custom automate code" is the https://github.com/RedHatOfficial/miq-Utilities and https://github.com/RedHatOfficial/miq-RedHat-Satellite6.

When logged into Cloudforms as an admin user with the role "EvmRole-super_administrator" the workflow works just fine. When a user with the role "EvmRole-user_self_service" it stops working.

This worked fine on Cloudforms 5.9. This stopped working after the upgrade to Cloudforms 5.10.

Comment 17 Sigbjorn Lie 2019-04-08 20:46:36 UTC
Created attachment 1553740 [details]
redhat_best_placement_with_scope.rb

Comment 18 Sigbjorn Lie 2019-04-08 20:47:25 UTC
Please see the requested file attached.

Comment 19 Tina Fitzgerald 2019-04-09 18:31:15 UTC
Opened new ticket to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1698183

Comment 20 Antonin Pagac 2019-04-29 09:10:20 UTC
Verified with 5.11.0.1.