| Summary: | Add whitespace as scopes will take userinfo as scopes without help info prompting when add authorization | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | weiwei jiang <wjiang> |
| Component: | oc | Assignee: | Jordan Liggitt <jliggitt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | jliggitt, wsun, xiuwang |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-30 00:51:21 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: | |
|
Description
weiwei jiang
2013-11-29 10:32:23 UTC
Will merge in https://github.com/openshift/rhc/pull/520 Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/d3fd6cabf211b90dce5c099dbd8576b39a984b50 Fix bug 1036064: display scopes help when passing empty scopes on command line Tried on devenv_4098 with rhc build from it and results as following: # rhc authorization add --scopes "" When adding an authorization, you must specify which permissions clients will have. Scope Description --------------------- --------------------------------------------------------------------------------------------------------------------------------------------- session Grants a client the authority to perform all API actions against your account. Valid for about 1 month. read Allows the client to access resources you own without making changes. Does not allow access to view authorization tokens. Valid for 6 months. userinfo Allows a client to view your login name, unique id, and your user capabilities. Valid for 6 months. domain/:id/view Grant read-only access to a single domain. Valid for 6 months. domain/:id/edit Grant edit access to a single domain and all its applications. Valid for 6 months. domain/:id/admin Grant full administrative access to a single domain and all its applications. Valid for 6 months. application/:id/view Grant read-only access to a single application. Valid for 6 months. application/:id/edit Grant edit access to a single application. Valid for 6 months. application/:id/admin Grant full administrative access to a single application. Valid for 6 months. You may pass multiple scopes to the --scopes option inside of double quotes (--scopes "scope1 scope2") or by separating them with commas (--scopes scope1,scope2). Run 'rhc authorization add --help' to see more options So, can not reproduce this issue. |