Skip to content

Deprecate User.groups field - #12870

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
liggitt:deprecate-user-groups
Feb 9, 2017
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
liggitt:deprecate-user-groups

Conversation

@liggitt

@liggitt liggitt commented Feb 8, 2017 •

Copy link
Copy Markdown
Contributor

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

liggitt commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

cc @smarterclayton @deads2k @enj

@deads2k

deads2k commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

lgtm

@liggitt

liggitt commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

[merge]

@enj

enj commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

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

@liggitt

liggitt commented Feb 8, 2017

Copy link
Copy Markdown
Contributor Author

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

@deads2k

deads2k commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

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

enj commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

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

image

The strikethrough is nice.

@openshift-bot

openshift-bot commented Feb 8, 2017 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

Evaluated for origin merge up to 487c698

@openshift-bot

Copy link
Copy Markdown
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 487c698

@openshift-bot

Copy link
Copy Markdown
Contributor

@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