Bug 1089647
| Summary: | /broker/rest/teams returns all global teams for users with view_global_teams capability | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
| Component: | Node | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.1.0 | CC: | bleanhar, jliggitt, libra-onpremise-devel, xtian, zzhao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1088941 | Environment: | |
| Last Closed: | 2014-05-15 14:40:04 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: | |||
| Bug Depends On: | 1088941 | ||
| Bug Blocks: | |||
|
Description
Gaoyun Pei
2014-04-21 10:32:36 UTC
I'll pull this from upstream in today's build. This issue has been resolved on puddle: 2.1/2014-04-22.2 Users could not get all global teams list via /broker/rest/teams, only shows teams belong to the user or the user is a member of. For users with view_global_teams=true, he could search global team via /broker/rest/teams, and could get global team info via /broker/rest/team/:id For users with view_global_teams=false, he could not search global team, with an error "You are not permitted to perform this action (view_global_teams on cloud user)" returned. But the user could get global team info via /broker/rest/team/:id if he is a member of this global team. So once the status changed to ON_QA, QE would move this bug to VERIFIED. |