Bug 1296980

Summary: RFE - Enforce Tag Visibility on Cloud Stacks
Product: Red Hat CloudForms Management Engine Reporter: Ramesh A <rananda>
Component: ApplianceAssignee: Šimon Lukašík <slukasik>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: abellott, jhardy, mfeifer, mmojzis, obarenbo, psavage, slukasik, ssainkar
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: appliance:tag
Fixed In Version: 5.6.0.4 Doc Type: Enhancement
Doc Text:
There was a feature request to enforce tag visibility on Cloud Stacks. Previously, the available stacks were displayed regardless of the tagging. With this release, Cloud Stacks are displayed only if tagged.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:26:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ramesh A 2016-01-08 15:37:41 UTC
Description of problem:
Tag Visibility on Cloud Stacks is not implemented at the moment

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

How reproducible:
Very

Steps to Reproduce:
1. Create a new group by enabling a checkbox in "My Company Tags" (say Service Level/Gold)
2. Create a new user with the above role
3. Login as this user and navigate to Cloud ==> Staks

Actual results:
Displays the available stacks nevertheless of the tagging

Expected results:
Should display only if it is tagged

Additional info:

Comment 1 Ramesh A 2016-01-08 15:38:22 UTC
This issue is also seen in 5.5.2.0.20151219144653_653c0d4

Comment 3 Šimon Lukašík 2016-04-13 12:03:05 UTC
Nice catch Ramesh! I can reproduce this on upstream.

Comment 5 CFME Bot 2016-04-15 15:30:43 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/4f705d63d92a37b17e6d6bb6a0b02991ae0db8bd

commit 4f705d63d92a37b17e6d6bb6a0b02991ae0db8bd
Author:     Šimon Lukašík <isimluk>
AuthorDate: Thu Apr 14 13:48:29 2016 +0200
Commit:     Šimon Lukašík <isimluk>
CommitDate: Thu Apr 14 13:49:09 2016 +0200

    Show OrchestrationStacks only for authorized.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1296980

 app/models/rbac.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 6 Matouš Mojžíš 2016-04-27 14:34:02 UTC
Verified in 5.6.0.4-beta2.3.20160421172650_719e256.
I am not able to see Orchestration Stacks, when I set tag to group different one, than stack has and when I set tag to user and don't set any tag to stack, then I can't see it anyway.

Comment 7 Šimon Lukašík 2016-05-17 11:22:30 UTC
*** Bug 1292726 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2016-06-29 15:26:16 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/RHBA-2016:1348