From 7b93e845e177acaad13b83987516cb4328b0e66d Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Tue, 22 Oct 2019 10:11:25 +0800 Subject: [PATCH 1/2] Modify the words of setting cli secret Signed-off-by: Yogi_Wang --- tests/resources/Harbor-Pages/OIDC_Auth.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/resources/Harbor-Pages/OIDC_Auth.robot b/tests/resources/Harbor-Pages/OIDC_Auth.robot index 021c2bb4d..866cbc19c 100644 --- a/tests/resources/Harbor-Pages/OIDC_Auth.robot +++ b/tests/resources/Harbor-Pages/OIDC_Auth.robot @@ -54,6 +54,6 @@ Generate And Return Secret Retry Element Click ${more_btn} Retry Element Click ${generate_secret_btn} Retry Double Keywords When Error Retry Element Click ${confirm_btn} Retry Wait Until Page Not Contains Element ${confirm_btn} - Retry Wait Until Page Contains generate CLI secret success + Retry Wait Until Page Contains Cli secret setting is successful ${secret}= Get Secrete By API ${url} [Return] ${secret} \ No newline at end of file From f38fff8eff3a082eaf24fbc9ca4cb1b6c9d780e2 Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Tue, 22 Oct 2019 16:04:11 +0800 Subject: [PATCH 2/2] Modify the permission when add Limited Guest Signed-off-by: Yogi_Wang --- .../create-edit-rule.component.ts | 2 +- .../replication/replication.component.html | 2 +- .../replication/replication.component.scss | 5 ++- .../repository/repository.component.spec.ts | 20 +++++------ src/portal/lib/src/tag/tag.component.spec.ts | 23 +++++++----- src/portal/lib/src/tag/tag.component.ts | 36 +++++++++---------- 6 files changed, 48 insertions(+), 40 deletions(-) diff --git a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts index 283a49ed2..0a9279a0b 100644 --- a/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts +++ b/src/portal/lib/src/create-edit-rule/create-edit-rule.component.ts @@ -253,7 +253,7 @@ export class CreateEditRuleComponent implements OnInit, OnDestroy { dest_registry: rule.dest_registry, trigger: rule.trigger, deletion: rule.deletion, - enabled: true, + enabled: rule.enabled, override: rule.override }); let filtersArray = this.getFilterArray(rule); diff --git a/src/portal/lib/src/replication/replication.component.html b/src/portal/lib/src/replication/replication.component.html index f02d19304..b140f27d7 100644 --- a/src/portal/lib/src/replication/replication.component.html +++ b/src/portal/lib/src/replication/replication.component.html @@ -24,7 +24,7 @@
{{'REPLICATION.REPLICATION_EXECUTIONS' | translate}}
-
+