Skip to content

Commit 05a5c87

Browse files
xingzhang-suserushk014
authored andcommitted
NVSHAS-9915: Show scan result from harbor scanner module in Neuvector UI. (Local admin/reader can see fed repo on worker cluster)
1 parent 1b9f47e commit 05a5c87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/webapp/websrc/app/routes/registries/registries.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ export class RegistriesComponent implements OnInit, OnDestroy {
8080
});
8181
}
8282

83-
if (this.isMultiClusterAuthorized) {
83+
if (this.isMultiClusterAuthorized || GlobalVariable.isMember) {
8484
updatedSummaries.push({
8585
...baseSummary,
8686
name:
8787
GlobalVariable.isMaster && !GlobalVariable.isRemote
8888
? '_repo_scan'
89-
: GlobalVariable.isMaster && GlobalVariable.isRemote
89+
: GlobalVariable.isMaster && GlobalVariable.isRemote || GlobalVariable.isMember
9090
? 'fed._repo_scan'
9191
: '',
9292
isAllView: false,

0 commit comments

Comments
 (0)