[Reset Password] Manage Reset Password permission (#902)
* [Reset Password] Manage Reset Password permission * Update formatting * Update jslib (f4f00b1
->97ece68
)
This commit is contained in:
parent
b1c59f3dc1
commit
ba3d4a2390
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit baca6d79663e3158af6c46bc6dad7ac7415175c1
|
||||
Subproject commit 97ece68dec8f2f94e41a172419039e68d8966253
|
|
@ -178,6 +178,15 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-0">
|
||||
<div class="form-check mt-1 form-check-block">
|
||||
<input class="form-check-input" type="checkbox" name="manageResetPassword"
|
||||
id="manageResetPassword" [(ngModel)]="permissions.manageResetPassword">
|
||||
<label class="form-check-label font-weight-normal" for="manageResetPassword">
|
||||
{{'manageResetPassword' | i18n}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -255,8 +264,9 @@
|
|||
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
||||
<span>{{'save' | i18n}}</span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-secondary"
|
||||
data-dismiss="modal">{{'cancel' | i18n}}</button>
|
||||
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">
|
||||
{{'cancel' | i18n}}
|
||||
</button>
|
||||
<div class="ml-auto">
|
||||
<button #deleteBtn type="button" (click)="delete()" class="btn btn-outline-danger"
|
||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
||||
|
|
|
@ -138,6 +138,9 @@ export class UserAddEditComponent implements OnInit {
|
|||
p.manageUsers = clearPermissions ?
|
||||
false :
|
||||
this.permissions.manageUsers;
|
||||
p.manageResetPassword = clearPermissions ?
|
||||
false :
|
||||
this.permissions.manageResetPassword;
|
||||
return p;
|
||||
}
|
||||
|
||||
|
|
|
@ -3714,6 +3714,9 @@
|
|||
"manageUsers": {
|
||||
"message": "Manage Users"
|
||||
},
|
||||
"manageResetPassword": {
|
||||
"message": "Manage Password Reset"
|
||||
},
|
||||
"disableRequireSsoError": {
|
||||
"message": "You must manually disable the Single Sign-On Authentication policy before this policy can be disabled."
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue