mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[Reset Password] Manage Reset Password permission (#902)
* [Reset Password] Manage Reset Password permission * Update formatting * Update jslib (f4f00b1->97ece68)
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: baca6d7966...97ece68dec
@@ -178,6 +178,15 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -255,8 +264,9 @@
|
|||||||
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
||||||
<span>{{'save' | i18n}}</span>
|
<span>{{'save' | i18n}}</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-outline-secondary"
|
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">
|
||||||
data-dismiss="modal">{{'cancel' | i18n}}</button>
|
{{'cancel' | i18n}}
|
||||||
|
</button>
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
<button #deleteBtn type="button" (click)="delete()" class="btn btn-outline-danger"
|
<button #deleteBtn type="button" (click)="delete()" class="btn btn-outline-danger"
|
||||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
||||||
|
|||||||
@@ -138,6 +138,9 @@ export class UserAddEditComponent implements OnInit {
|
|||||||
p.manageUsers = clearPermissions ?
|
p.manageUsers = clearPermissions ?
|
||||||
false :
|
false :
|
||||||
this.permissions.manageUsers;
|
this.permissions.manageUsers;
|
||||||
|
p.manageResetPassword = clearPermissions ?
|
||||||
|
false :
|
||||||
|
this.permissions.manageResetPassword;
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3714,6 +3714,9 @@
|
|||||||
"manageUsers": {
|
"manageUsers": {
|
||||||
"message": "Manage Users"
|
"message": "Manage Users"
|
||||||
},
|
},
|
||||||
|
"manageResetPassword": {
|
||||||
|
"message": "Manage Password Reset"
|
||||||
|
},
|
||||||
"disableRequireSsoError": {
|
"disableRequireSsoError": {
|
||||||
"message": "You must manually disable the Single Sign-On Authentication policy before this policy can be disabled."
|
"message": "You must manually disable the Single Sign-On Authentication policy before this policy can be disabled."
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user