Bug 1746386 - Unable to access "Automate/Requests" tab for a role without exposing "Service/Requests"
Summary: Unable to access "Automate/Requests" tab for a role without exposing "Service...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.12.0
Assignee: Zita Nemeckova
QA Contact: Ganesh Hubale
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1767647
TreeView+ depends on / blocked
 
Reported: 2019-08-28 10:36 UTC by Ganesh Hubale
Modified: 2020-03-25 18:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1767647 (view as bug list)
Environment:
Last Closed: 2020-03-25 18:03:21 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
mfeifer: mirror+


Attachments (Terms of Use)

Description Ganesh Hubale 2019-08-28 10:36:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.11.0.21.20190821214526_b0060d0
5.10.9.0.20190819184228_a6f851e

How reproducible:
100%

Steps to Reproduce:
1. Create new user with role - EvmRole-support(By default this role does not have access to the Automation tab in the Web UI.)
2. Add all of the Automate role features.
3. Log in with new user and navigate to Automation >  automate > requests

Actual results:
Not authorised user to view this user

Expected results:
It should give access to this page

Additional info:
- This issue is reproducible on versions: 
    - 5.11.0.21.20190821214526_b0060d0
    - 5.10.9.0.20190819184228_a6f851e

- Related RFE - https://bugzilla.redhat.com/show_bug.cgi?id=1508490#c10
- Last working version: 5.10.0.4

Comment 5 Zita Nemeckova 2019-09-02 12:37:45 UTC
Note to self:

The role has to NOT have Services/Requests.

Comment 7 Ganesh Hubale 2019-09-03 11:41:29 UTC
Hi Zita,

I agree with you.

According to RFE - https://bugzilla.redhat.com/show_bug.cgi?id=1508490#c10
This was fixed on 5.10.0.4
I had provisioned this appliance locally and checked on 5.10.0.4. It was working. But not able to get appliance from sprout of this same version which I can share with you.


Thanks,
Ganesh

Comment 9 Zita Nemeckova 2019-09-06 12:21:21 UTC
Hi,

I was finally able to verify that it really is regression. So no more objection on that :)

Comment 10 CFME Bot 2019-09-10 09:11:47 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/fc0dcf1c10e4657a9a6c535f5a6388ea9779bfcf
commit fc0dcf1c10e4657a9a6c535f5a6388ea9779bfcf
Author:     Zita Nemeckova <znemecko>
AuthorDate: Wed Sep  4 05:25:29 2019 -0400
Commit:     Zita Nemeckova <znemecko>
CommitDate: Wed Sep  4 05:25:29 2019 -0400

    Allow Automate/Request without Service/Request rights

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

 app/controllers/miq_request_controller.rb | 7 +-
 1 file changed, 5 insertions(+), 2 deletions(-)


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