You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rulevalidation.Covers should not use authorizationapi.NormalizeResources #13430
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.
@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.
Activity
deads2k commentedon Mar 20, 2017
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?
enj commentedon May 19, 2017
@deads2k do we still need this?
deads2k commentedon May 22, 2017
If we switch in 3.7, no.
Merge pull request #15021 from simo5/RBAC1
tiran commentedon Aug 23, 2017
@deads2k @enj Is this ticket still relevant? We switched to RBAC in 3.7.
rulevalidation.Coversis used inpgk/diagnostics/clusterandpkg/oc/admin/policy. It callsauthorizationapi.NormalizeResourcesinbreakdownRuleForGroup.deads2k commentedon Aug 23, 2017
unnecessary post-switch.
enj commentedon Aug 23, 2017
@deads2k I do not think it is that simple, see #15911
Merge pull request #15911 from simo5/nonorm2