Bug 1156374 - Admin member in domain could not view the team in the same domain
Summary: Admin member in domain could not view the team in the same domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Management Console
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1156605
TreeView+ depends on / blocked
 
Reported: 2014-10-24 10:14 UTC by Wei Sun
Modified: 2015-05-15 01:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1156605 (view as bug list)
Environment:
Last Closed: 2015-02-18 16:52:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
team.log (21.84 KB, text/plain)
2014-10-24 10:14 UTC, Wei Sun
no flags Details

Description Wei Sun 2014-10-24 10:14:35 UTC
Created attachment 950313 [details]
team.log

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:

Comment 1 Jordan Liggitt 2014-10-24 13:17:59 UTC
Team#can_leave? should ensure the user is a member of the team

Comment 2 Fabiano Franz 2014-10-24 18:29:44 UTC
Fixed in https://github.com/openshift/origin-server/pull/5905

Comment 3 openshift-github-bot 2014-10-24 19:14:59 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/984877d35e703e7a6c56a9c073b871ca286e2776
Bug 1156374 - domain admin member must be able to see domain teams

Comment 4 Wei Sun 2014-10-27 03:22:59 UTC
Verified on devenv-stage_1082.Now admin member in domain could  view the team in the same domain


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