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:
Team#can_leave? should ensure the user is a member of the team
Fixed in https://github.com/openshift/origin-server/pull/5905
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
Verified on devenv-stage_1082.Now admin member in domain could view the team in the same domain