-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Provide descriptions #8807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide descriptions #8807
Conversation
func (userEvaluator) Describe(scope string) string { | ||
switch scope { | ||
case UserIndicator + UserInfo: | ||
return "information about you, including username, identity names, and group membership" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this information is going to be returned to a user, should it be properly capitalized and punctuated?
Also, grammar-nit; needs a colon (but I agree on the use of the Oxford Comma):
"Information about you, including: username, identity names, and group membership."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this information is going to be returned to a user, should it be properly capitalized and punctuated?
Also, grammar-nit; needs a colon (but I agree on the use of the Oxford Comma):
"Information about you, including: username, identity names, and group membership."
@jwforres @fabianofranz I think that @liggitt's intent is for this to be a human readable string you can present to a user to describe a scope. I don't know precisely how he intends for you to get the information in the console, but in the CLI this is pretty easy to get. Should it be a complete sentence?
Modulo the specific string contents under discussion, LGTM. |
ef92ced
to
6227848
Compare
Updated strings. We can always change our mind later. [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5864/) (Image: devenv-rhel7_4152) |
6227848
to
3b0ec27
Compare
Evaluated for origin merge up to 3b0ec27 |
Add human readable descriptions for scopes.
@sgallagher last commit only.