Skip to content

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

Merged
merged 2 commits into from
May 10, 2016
Merged

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented May 9, 2016

Add human readable descriptions for scopes.

@sgallagher last commit only.

@deads2k deads2k mentioned this pull request May 9, 2016
10 tasks
func (userEvaluator) Describe(scope string) string {
switch scope {
case UserIndicator + UserInfo:
return "information about you, including username, identity names, and group membership"
Copy link
Contributor

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."

Copy link
Contributor Author

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?

@sgallagher
Copy link
Contributor

Modulo the specific string contents under discussion, LGTM.

@deads2k deads2k force-pushed the provide-descriptions branch from ef92ced to 6227848 Compare May 10, 2016 11:45
@deads2k
Copy link
Contributor Author

deads2k commented May 10, 2016

Modulo the specific string contents under discussion, LGTM.

Updated strings. We can always change our mind later.

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented May 10, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5864/) (Image: devenv-rhel7_4152)

@deads2k deads2k force-pushed the provide-descriptions branch from 6227848 to 3b0ec27 Compare May 10, 2016 12:56
@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 3b0ec27

@openshift-bot openshift-bot merged commit 8edafe4 into openshift:master May 10, 2016
@deads2k deads2k deleted the provide-descriptions branch September 6, 2016 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants