-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Deprecate User.groups field #12870
Conversation
lgtm |
[merge] |
Do we not have any specific doc notation or struct tag to mark a field as deprecated? |
other than marking it deprecated in the field comment (which filters to swagger, etc)? no |
What do you think this is, the 80s? Golang won't get there for another decade. |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13711/) (Image: devenv-rhel7_5882) |
Evaluated for origin merge up to 487c698 |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to 487c698 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13711/) (Base Commit: 76141a4) |
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.