Skip to content

add gets and lists for roles and role bindings - #1187

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
deads2k:deads-add-gets-lists
Mar 11, 2015
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
deads2k:deads-add-gets-lists

Conversation

@deads2k

@deads2k deads2k commented Feb 27, 2015

Copy link
Copy Markdown
Contributor

adds gets and lists for the virtual policy resources, along with describers and printers. It also neatens up the virtual registry for roles.

@deads2k

deads2k commented Feb 27, 2015

Copy link
Copy Markdown
Contributor Author

@liggitt

Comment thread pkg/authorization/api/v1beta1/types.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing json for this and rolelist

@liggitt

liggitt commented Feb 28, 2015

Copy link
Copy Markdown
Contributor

ok, this was longer than I thought at first glace... will look Monday

@smarterclayton smarterclayton modified the milestone: 0.5.0 Mar 2, 2015
@deads2k
deads2k force-pushed the deads-add-gets-lists branch from 0cf25fc to b152b8d Compare March 4, 2015 18:11
@deads2k

deads2k commented Mar 4, 2015

Copy link
Copy Markdown
Contributor Author

rebased and comments addressed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels wrong to potentially create an empty policy on a GET. That means a cluster-admin could call GetRole(namespace=bogus, foo) and end up with an empty policy in a previously non-existent namespace

@liggitt

liggitt commented Mar 10, 2015

Copy link
Copy Markdown
Contributor

Other than standardizing errors/error checking and avoiding policy creates on Get/Delete/failed Update, LGTM

@deads2k

deads2k commented Mar 10, 2015

Copy link
Copy Markdown
Contributor Author

comments addressed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apply label selector filter?

@deads2k
deads2k force-pushed the deads-add-gets-lists branch from 9215fbe to e84baee Compare March 10, 2015 13:07
@liggitt

liggitt commented Mar 10, 2015

Copy link
Copy Markdown
Contributor

LGTM

@deads2k

deads2k commented Mar 10, 2015

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/1154/) (Image: devenv-fedora_1018)

@deads2k
deads2k force-pushed the deads-add-gets-lists branch from e84baee to a087ee7 Compare March 11, 2015 12:30
@deads2k

deads2k commented Mar 11, 2015

Copy link
Copy Markdown
Contributor Author

needed a rebase to see a broken test. re[merge]

@deads2k
deads2k force-pushed the deads-add-gets-lists branch from a087ee7 to c25b5f2 Compare March 11, 2015 14:35
@deads2k

deads2k commented Mar 11, 2015

Copy link
Copy Markdown
Contributor Author

transient? UI e2e failure. [merge]

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