Skip to content

rulevalidation.Covers should not use authorizationapi.NormalizeResources #13430

Closed

Description

@enj

xref: #13334

Activity

  1. added this to the milestone on Mar 17, 2017
  2. self-assigned this
    on Mar 17, 2017
  3. deads2k commented on Mar 20, 2017

    @deads2k
    Contributor

    This will break old, non-migrated rules which rely on coverage from different roles. I think I'm ok doing this in 1.6 since the common case of coverage based on the same rule or based on "*" will still work.

    @liggitt arguments against?

  4. enj commented on May 19, 2017

    @enj
    ContributorAuthor

    @deads2k do we still need this?

  5. deads2k commented on May 22, 2017

    @deads2k
    Contributor

    @deads2k do we still need this?

    If we switch in 3.7, no.

  6. modified the milestones: , 3.6.0 on Jun 22, 2017
  7. added a commit that references this issue on Aug 17, 2017
  8. tiran commented on Aug 23, 2017

    @tiran
    Contributor

    @deads2k @enj Is this ticket still relevant? We switched to RBAC in 3.7.

    rulevalidation.Covers is used in pgk/diagnostics/cluster and pkg/oc/admin/policy. It calls authorizationapi.NormalizeResources in breakdownRuleForGroup.

  9. deads2k commented on Aug 23, 2017

    @deads2k
    Contributor

    unnecessary post-switch.

  10. enj commented on Aug 23, 2017

    @enj
    ContributorAuthor

    unnecessary post-switch.

    @deads2k I do not think it is that simple, see #15911

  11. reopened this on Aug 23, 2017
  12. added a commit that references this issue on Aug 24, 2017
    8221c1a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions