Skip to content
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

Deprecate User.groups field #12870

Merged
merged 1 commit into from
Feb 9, 2017
Merged

Deprecate User.groups field #12870

merged 1 commit into from
Feb 9, 2017

Conversation

liggitt
Copy link
Contributor

@liggitt liggitt commented Feb 8, 2017

We meant to deprecate this in 1.1 when we introduced the Group object, and forgot.

It causes confusion, and is not where we would want per-session group membership to live (that would likely go on an identity or token object instead).

Mark as deprecated now so we can migrate/remove it in a few releases.

@liggitt
Copy link
Contributor Author

liggitt commented Feb 8, 2017

cc @smarterclayton @deads2k @enj

@deads2k
Copy link
Contributor

deads2k commented Feb 8, 2017

lgtm

@liggitt
Copy link
Contributor Author

liggitt commented Feb 8, 2017

[merge]

@enj
Copy link
Contributor

enj commented Feb 8, 2017

Do we not have any specific doc notation or struct tag to mark a field as deprecated?

@liggitt
Copy link
Contributor Author

liggitt commented Feb 8, 2017

other than marking it deprecated in the field comment (which filters to swagger, etc)? no

@deads2k
Copy link
Contributor

deads2k commented Feb 8, 2017

Do we not have any specific doc notation or struct tag to mark a field as deprecated?

What do you think this is, the 80s? Golang won't get there for another decade.

@enj
Copy link
Contributor

enj commented Feb 8, 2017

I had seen this earlier and did not know if it was a notation that we followed:

image

The strikethrough is nice.

@openshift-bot
Copy link
Contributor

openshift-bot commented Feb 8, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13711/) (Image: devenv-rhel7_5882)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 487c698

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 487c698

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13711/) (Base Commit: 76141a4)

@openshift-bot openshift-bot merged commit e0ccc35 into openshift:master Feb 9, 2017
@liggitt liggitt deleted the deprecate-user-groups branch February 20, 2017 13:43
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.

4 participants