Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1156605 - Admin member in domain could not view the team in the same domain
Admin member in domain could not view the team in the same domain
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
2.2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Luke Meyer
libra bugs
: Upstream
Depends On: 1156374
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-24 14:23 EDT by Brenton Leanhardt
Modified: 2014-12-10 08:24 EST (History)
10 users (show)

See Also:
Fixed In Version: rubygem-openshift-origin-console-1.32.1.1-1
Doc Type: Bug Fix
Doc Text:
Previously, after adding a team as a "view" member to a domain, "admin" members for the same domain could not view the team in the Management Console. This bug fix updates the Management Console to address this issue, and as a result "admin" members of a domain can now view teams that are a member of the same domain in the Management Console.
Story Points: ---
Clone Of: 1156374
Environment:
Last Closed: 2014-12-10 08:24:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1979 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.2 bug fix and enhancement update 2014-12-10 13:23:46 EST

  None (edit)
Description Brenton Leanhardt 2014-10-24 14:23:39 EDT
+++ This bug was initially created as a clone of Bug #1156374 +++

Description of problem:
Add a team(team1) as view member to the domain,and add one account (account2) as admin member to the same domain.Try to view team1 with account2,but it failed.

The bug only could be reproduced on website,if I use rhc client,it's ok.
Please refer to devenv.log in attachment

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

How reproducible:
Always

Steps to Reproduce:
1.Log in website with account1
2.Create a team named team1
3.Add team1 as view member to domain(domain1)
4.Add another user(account2) as admin member to the same domain(domain1)
5.Log in website with account2
6.Access app/console/domain/domain1
7.Click "team1"
8.Click "View this team"

Actual results:
8.Could not view the team, it shows "
We appear to be having technical difficulties" on the page "app/console/team/$teamid" 

Expected results:
Could view the team with admin member

Additional info:

--- Additional comment from Jordan Liggitt on 2014-10-24 09:17:59 EDT ---

Team#can_leave? should ensure the user is a member of the team
Comment 3 Yanping Zhang 2014-12-01 19:58:52 EST
Verified on ose2.2/2014-11-26.3
Steps to verify:
1.Log in website with account1
2.Create a team named team1
3.Add team1 as view member to domain(domain1)
4.Add another user(account2) as admin member to the same domain(domain1)
5.Log in website with account2
6.Access app/console/domain/domain1
7.Click "team1"
8.Click "View this team"
Actual results:
8.Could view the team1 page with member info containing account1.
Comment 5 errata-xmlrpc 2014-12-10 08:24:41 EST
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://rhn.redhat.com/errata/RHBA-2014-1979.html

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