Repository navigation
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.