mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
don't allow 'except password' permissions to view or copy hidden fields (#12899)
This commit is contained in:
@@ -167,6 +167,10 @@ export class CustomFieldsComponent implements OnInit, AfterViewInit {
|
||||
);
|
||||
});
|
||||
|
||||
if (!this.cipherFormContainer.originalCipherView?.viewPassword) {
|
||||
this.customFieldsForm.disable();
|
||||
}
|
||||
|
||||
// Disable the form if in partial-edit mode
|
||||
// Must happen after the initial fields are populated
|
||||
if (this.cipherFormContainer.config.mode === "partial-edit") {
|
||||
|
||||
Reference in New Issue
Block a user