enhance: [2.4] RBAC built in privilege groups and grant v2 #37787
84.74% of diff hit (target 80.00%)
View this Pull Request on Codecov
84.74% of diff hit (target 80.00%)
Annotations
Check warning on line 5222 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5221-L5222
Added lines #L5221 - L5222 were not covered by tests
Check warning on line 5225 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5224-L5225
Added lines #L5224 - L5225 were not covered by tests
Check warning on line 5228 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5227-L5228
Added lines #L5227 - L5228 were not covered by tests
Check warning on line 5231 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5230-L5231
Added lines #L5230 - L5231 were not covered by tests
Check warning on line 5245 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5244-L5245
Added lines #L5244 - L5245 were not covered by tests
Check warning on line 5252 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5251-L5252
Added lines #L5251 - L5252 were not covered by tests
Check warning on line 5271 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5269-L5271
Added lines #L5269 - L5271 were not covered by tests
Check warning on line 5281 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5279-L5281
Added lines #L5279 - L5281 were not covered by tests
Check warning on line 5285 in internal/proxy/impl.go
codecov / codecov/patch
internal/proxy/impl.go#L5283-L5285
Added lines #L5283 - L5285 were not covered by tests
Check warning on line 631 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L630-L631
Added lines #L630 - L631 were not covered by tests
Check warning on line 2545 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2545
Added line #L2545 was not covered by tests
Check warning on line 2548 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2548
Added line #L2548 was not covered by tests
Check warning on line 2565 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2565
Added line #L2565 was not covered by tests
Check warning on line 2583 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2582-L2583
Added lines #L2582 - L2583 were not covered by tests
Check warning on line 2602 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2602
Added line #L2602 was not covered by tests
Check warning on line 2653 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2652-L2653
Added lines #L2652 - L2653 were not covered by tests
Check warning on line 2683 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2682-L2683
Added lines #L2682 - L2683 were not covered by tests
Check warning on line 2735 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2734-L2735
Added lines #L2734 - L2735 were not covered by tests
Check warning on line 2738 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2737-L2738
Added lines #L2737 - L2738 were not covered by tests
Check warning on line 2745 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L2744-L2745
Added lines #L2744 - L2745 were not covered by tests
Check warning on line 3240 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L3239-L3240
Added lines #L3239 - L3240 were not covered by tests
Check warning on line 3244 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L3243-L3244
Added lines #L3243 - L3244 were not covered by tests
Check warning on line 3345 in internal/rootcoord/root_coord.go
codecov / codecov/patch
internal/rootcoord/root_coord.go#L3344-L3345
Added lines #L3344 - L3345 were not covered by tests
Check warning on line 452 in pkg/util/constant.go
codecov / codecov/patch
pkg/util/constant.go#L449-L452
Added lines #L449 - L452 were not covered by tests
Check warning on line 478 in pkg/util/constant.go
codecov / codecov/patch
pkg/util/constant.go#L478
Added line #L478 was not covered by tests