Bug 1727948 - api permissions to create a picture not granted unless all permissions granted
Summary: api permissions to create a picture not granted unless all permissions granted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.10.5
Hardware: All
OS: All
medium
high
Target Milestone: GA
: 5.11.0
Assignee: Joe Vlcek
QA Contact: Parthvi Vala
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1731157
TreeView+ depends on / blocked
 
Reported: 2019-07-08 15:59 UTC by Felix Dewaleyne
Modified: 2019-12-13 15:01 UTC (History)
7 users (show)

Fixed In Version: 5.11.0.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1731157 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:01:40 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ integration_tests pull 9091 0 'None' 'closed' '[1LP][RFR]Add manual tests for test coverage' 2019-11-29 06:35:06 UTC

Description Felix Dewaleyne 2019-07-08 15:59:15 UTC
Description of problem:
api permissions to create a picture not granted unless all permissions granted

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

How reproducible:
all the time

Steps to Reproduce:
1. grant api permissinos manually without clicking on "grant all" (but do grant everything)
2. use that user to upload a picture with the api


Actual results:
create permission denied

Expected results:
create permission granted

Additional info:
this does not happen if everything is granted from the higher option.
this is a rbac issue

Comment 8 CFME Bot 2019-07-16 13:40:41 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/5c2aab8587c08ffb454c0df6a4c618b133d20be2
commit 5c2aab8587c08ffb454c0df6a4c618b133d20be2
Author:     Joe VLcek <jvlcek>
AuthorDate: Mon Jul 15 16:04:35 2019 -0400
Commit:     Joe VLcek <jvlcek>
CommitDate: Mon Jul 15 16:04:35 2019 -0400

    Allow modification of "Create new Picture" product feature on a role.

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

 db/fixtures/miq_product_features.yml | 21 +-
 1 file changed, 10 insertions(+), 11 deletions(-)

Comment 11 Parthvi Vala 2019-07-19 06:52:17 UTC
FIXED. Verified on 5.11.0.15.20190718144823_3d0108f.


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