Bug 1542326
| Summary: | [RFE] Ability to disable listing projects when logging into a cluster from command line. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mahesh Taru <mtaru> |
| Component: | RFE | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.7.1 | CC: | aos-bugs, byount, erich, jokerman, jvallejo, mfojtik, mmccomas, mtaru, wsun, xtian, xxia |
| Target Milestone: | --- | Keywords: | RFE |
| Target Release: | 3.9.0 | Flags: | mtaru:
needinfo-
mtaru: needinfo- |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-21 16:36:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | Feature | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 2
Chris Kim
2018-02-20 21:02:35 UTC
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/812537668af07e8396961a85b83bee9efd731936 Prevent login spam on large clusters Added conditional to project list that will suppress project list output on login if the list is greater than 50. Bug 1542326 Origin PR: https://github.com/openshift/origin/pull/18706 `oc login` will now avoid listing any projects if the user has access to more than 50. Verified in oc v3.9.2, when user has access to projects <=50, `oc login` lists all projects. When >50, it shows: $ oc login https://MASTER ... Username: xxia-2 Password: Login successful. You have access to 51 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "xxia-bug-test-00". |