Bug 1433069

Summary: [Multi-tenancy, LDAP] - Images not visible to tenant / Instances not visible to tenant after provisioning
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: Pavol Kotvan <pakotvan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: amavinag, cpelland, dajohnso, gtanzill, hkataria, jhardy, lavenel, lpichler, mpovolny, obarenbo, pakotvan, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:rbac:mutli_tenancy
Fixed In Version: 5.7.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1400671 Environment:
Last Closed: 2017-04-12 14:35:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On: 1400671    
Bug Blocks:    

Comment 2 CFME Bot 2017-03-16 17:31:01 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/a3acef4bbc68cf1cae3bdb7014d3c5aeee40bc90

commit a3acef4bbc68cf1cae3bdb7014d3c5aeee40bc90
Author:     Gregg Tanzillo <gtanzill@redhat.com>
AuthorDate: Fri Mar 10 17:14:48 2017 -0500
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Thu Mar 16 13:29:44 2017 -0400

    Merge pull request #14264 from lpichler/add_ownership_scope
    
    Add scope for ownership
    (cherry picked from commit 8bb9133568b8d8c0c3aa131b6da65b28ec40fd53)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1433069

 app/models/vm_or_template.rb | 4 ++++
 1 file changed, 4 insertions(+)

Comment 3 CFME Bot 2017-03-16 17:40:58 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/dd3aee24a9c47ca03f58eb40ebfde06eba0b9117

commit dd3aee24a9c47ca03f58eb40ebfde06eba0b9117
Author:     Martin Povolny <mpovolny@redhat.com>
AuthorDate: Thu Mar 16 16:20:58 2017 +0100
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Thu Mar 16 13:38:46 2017 -0400

    Merge pull request #649 from lpichler/disable_ownership_screen_for_provider_with_tenant_mapping
    
    Disable ownership screen for provider with tenant mapping
    (cherry picked from commit 481b3a02298e9853655f510ff7d75d6d1435688e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1433069

 .../application_controller/ci_processing.rb        | 29 +++++++++++++++++++---
 .../application_helper/button/set_ownership.rb     |  9 +++++++
 .../toolbar/openstack_vm_cloud_center.rb           |  3 ++-
 .../toolbar/x_template_cloud_center.rb             |  4 ++-
 .../toolbar/x_vm_cloud_center.rb                   |  4 ++-
 app/views/shared/views/_ownership.html.haml        |  3 +++
 spec/controllers/vm_cloud_controller/trees_spec.rb |  2 +-
 .../buttons/set_ownership_spec.rb                  | 25 +++++++++++++++++++
 8 files changed, 71 insertions(+), 8 deletions(-)
 create mode 100644 app/helpers/application_helper/button/set_ownership.rb
 create mode 100644 spec/helpers/application_helper/buttons/set_ownership_spec.rb

Comment 9 errata-xmlrpc 2017-04-12 14:35:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:0898