Bug 1563146

Summary: unable to order a catalog item unless the permissions to edit a dialog are granted
Product: Red Hat CloudForms Management Engine Reporter: Felix Dewaleyne <fdewaley>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, cpelland, fdewaley, greartes, hkataria, jrafanie, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.9.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 13:40:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1561041    

Description Felix Dewaleyne 2018-04-03 09:27:09 UTC
Description of problem:
unable to order unless the permissions to edit a dialog are granted

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

How reproducible:
all the time

Steps to Reproduce:
1. set up a catalog item & dialog form 
2. create a user who has access to the catalog item, based on vm_user + catalog access
3. order the catalog

Actual results:
 URL https://sample.cloudforms.com/api/service_dialogs/42000000000005?resource_action_id=42000000000086&target_id=42000000000003&target_type=service_template

Status 403 Forbidden

Content-Type application/json; charset=utf-8

Data {"error":{"kind":"forbidden","message":"Use of the read action is forbidden","klass":"Api::ForbiddenError"}} 

Expected results:
able to see the dialog and order it

Additional info:
the only way to be able to order is to be able to customize the dialog (automation > automate > customization) which gives too many permissions.

Comment 3 Joe Rafaniello 2018-04-20 15:11:29 UTC
Tim, can you review if this ^ can be backported to fine?

Comment 6 Satoe Imaishi 2018-05-15 13:40:29 UTC

*** This bug has been marked as a duplicate of bug 1546944 ***