From dd4217bf51d7f1ae169a987cf1a79150035695c2 Mon Sep 17 00:00:00 2001 From: kunw Date: Thu, 27 Apr 2017 12:12:10 +0800 Subject: [PATCH] Add members check to tags route. --- src/ui_ng/src/app/harbor-routing.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui_ng/src/app/harbor-routing.module.ts b/src/ui_ng/src/app/harbor-routing.module.ts index f5eb5d07562..15b625602c4 100644 --- a/src/ui_ng/src/app/harbor-routing.module.ts +++ b/src/ui_ng/src/app/harbor-routing.module.ts @@ -94,6 +94,7 @@ const harborRoutes: Routes = [ { path: 'tags/:id/:repo', component: TagRepositoryComponent, + canActivate: [MemberGuard], resolve: { projectResolver: ProjectRoutingResolver }