mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Fix ldap cert verify has to align with ldap mode. should not show in other mode.
Fix edit group sccess message. This pr will focus on 2 issues: 1 In configuration, LDAP verify cert should only show in ldap mode. It should not show in database mode. 2 When user using ldap mode to login harbor. And edit a group sccessfully, the popup message shows wrong. It should show "Edit group sccess".
This commit is contained in:
parent
034367f202
commit
04261687cd
@ -202,7 +202,7 @@
|
||||
</clr-checkbox>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<section *ngIf="showLdap">
|
||||
<div class="form-group">
|
||||
<label for="ldapVerifyCert">{{'CONFIG.LDAP.VERIFY_CERT' | translate}}</label>
|
||||
<clr-checkbox name="ldapVerifyCert" id="ldapVerifyCert" [clrChecked]="currentConfig.ldap_verify_cert.value" [clrDisabled]="disabled(currentConfig.ldap_scope)"
|
||||
|
@ -95,7 +95,7 @@ export class AddGroupModalComponent implements OnInit, OnDestroy {
|
||||
.finally(() => this.close())
|
||||
.subscribe(
|
||||
res => {
|
||||
this.msgHandler.showSuccess("ADD_GROUP_FAILURE");
|
||||
this.msgHandler.showSuccess("GROUP.EDIT_GROUP_SUCCESS");
|
||||
this.dataChange.emit();
|
||||
},
|
||||
error => this.msgHandler.handleError(error)
|
||||
|
@ -264,7 +264,7 @@
|
||||
"PROPERTY": "Property",
|
||||
"REG_TIME": "Registration Time",
|
||||
"ADD_GROUP_SUCCESS": "Add group success",
|
||||
"ADD_GROUP_FAILURE": "Add group failure",
|
||||
"EDIT_GROUP_SUCCESS": "Edit group success",
|
||||
"LDAP_TYPE": "LDAP"
|
||||
},
|
||||
"AUDIT_LOG": {
|
||||
|
@ -263,7 +263,7 @@
|
||||
"PROPERTY": "Property",
|
||||
"REG_TIME": "Registration Time",
|
||||
"ADD_GROUP_SUCCESS": "Add group success",
|
||||
"ADD_GROUP_FAILURE": "Add group failure",
|
||||
"EDIT_GROUP_SUCCESS": "Edit group success",
|
||||
"LDAP_TYPE": "LDAP"
|
||||
},
|
||||
"AUDIT_LOG": {
|
||||
|
@ -247,7 +247,7 @@
|
||||
"PROPERTY": "Property",
|
||||
"REG_TIME": "Registration Time",
|
||||
"ADD_GROUP_SUCCESS": "Add group success",
|
||||
"ADD_GROUP_FAILURE": "Add group failure",
|
||||
"EDIT_GROUP_SUCCESS": "Edit group success",
|
||||
"LDAP_TYPE": "LDAP"
|
||||
},
|
||||
"AUDIT_LOG": {
|
||||
|
@ -263,7 +263,7 @@
|
||||
"GROUP_DN": "LDAP 组域",
|
||||
"REG_TIME": "注册时间",
|
||||
"ADD_GROUP_SUCCESS": "添加组成功",
|
||||
"ADD_GROUP_FAILURE": "添加组失败",
|
||||
"EDIT_GROUP_SUCCESS": "修改组成功",
|
||||
"LDAP_TYPE": "LDAP"
|
||||
},
|
||||
"AUDIT_LOG": {
|
||||
|
Loading…
Reference in New Issue
Block a user