Bug 1516229 - Tag: Restricted items can be selected in drop downs while creation/editing, which cause unexpected error
Summary: Tag: Restricted items can be selected in drop downs while creation/editing, w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Libor Pichler
QA Contact: Ruslana Babyuk
URL:
Whiteboard: ui:tag
Depends On:
Blocks: 1532655 1538350
TreeView+ depends on / blocked
 
Reported: 2017-11-22 10:19 UTC by Ruslana Babyuk
Modified: 2018-06-21 21:17 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1532655 1538350 (view as bug list)
Environment:
Last Closed: 2018-06-21 21:17:23 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tenant_evm (11.79 KB, text/plain)
2017-11-22 10:30 UTC, Ruslana Babyuk
no flags Details
tenant_produstion (6.76 KB, text/plain)
2017-11-22 10:30 UTC, Ruslana Babyuk
no flags Details

Description Ruslana Babyuk 2017-11-22 10:19:08 UTC
Description of problem:
Restricted items can be selected in drop downs while creation/editing, which cause unexpected error

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

How reproducible:


Steps to Reproduce:
1. Add cloud provider
2. Create group with tag restriction
3. Create user
4. Do not assign any tags to cloud items
5. Navigate to cloud tenant page
6. Open add new tenant page
7. Expand provider drop down

Actual results:
Restricted provider is visible, after filling all fields, error occur

Expected results:
Provider list should be empty

Additional info:
The same issue reproduces for:
Host Aggregates,
Tenant,
Flavour,
Cloud Network,
Subnets

Comment 2 Ruslana Babyuk 2017-11-22 10:30:24 UTC
Created attachment 1357348 [details]
tenant_evm

Comment 3 Ruslana Babyuk 2017-11-22 10:30:54 UTC
Created attachment 1357349 [details]
tenant_produstion

Comment 9 CFME Bot 2018-01-08 17:32:11 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/1ac6415ffdaaea4f806813650b7571e5e7c0b148

commit 1ac6415ffdaaea4f806813650b7571e5e7c0b148
Author:     lpichler <lpichler>
AuthorDate: Fri Jan 5 18:17:03 2018 +0100
Commit:     lpichler <lpichler>
CommitDate: Fri Jan 5 18:18:31 2018 +0100

    Add RBAC check for cloud managers in new host aggregate
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1516229

 app/controllers/host_aggregate_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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