Skip to content

RBAC Migration Followup #16: Exercise proxied endpoints #15830

Closed

Description

@enj

Exercise proxied endpoints. Make sure all the supported VERBs work under different conditions

Activity

  1. modified the milestone: on Aug 17, 2017
  2. added
    help wanted
    on Aug 22, 2017
  3. enj commented on Aug 25, 2017

    @enj
    ContributorAuthor

    Write integration tests (see test/integration/authorization_test.go as an example) that uses the openshift client (see pkg/client/client.go's ClusterRoles() as an example) to perform all operations on all {cluster}role{binding} resources.

    So for cluster roles I would expect all methods of this interface to be called:

    type ClusterRoleInterface interface {
    	List(opts metav1.ListOptions) (*authorizationapi.ClusterRoleList, error)
    	Get(name string, options metav1.GetOptions) (*authorizationapi.ClusterRole, error)
    	Create(role *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
    	Update(role *authorizationapi.ClusterRole) (*authorizationapi.ClusterRole, error)
    	Delete(name string) error
    }

    As a special check, make sure to create a role binding to both cluster and local roles.

  4. openshift-bot commented on Feb 19, 2018

    @openshift-bot
    Contributor

    Issues go stale after 90d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle stale

  5. added
    lifecycle/stale
    on Feb 19, 2018
  6. enj commented on Feb 19, 2018

    @enj
    ContributorAuthor

    /lifecycle frozen

  7. added
    lifecycle/frozen
    on Feb 19, 2018
  8. removed
    help wanted
    lifecycle/stale
    on May 17, 2018
  9. assigned and unassigned on May 17, 2018
  10. modified the milestones: v3.7, v3.10 on May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/securityarea/techdebtcomponent/authlifecycle/frozenpriority/P2sig/security

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions