mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[PM-15572] - don't allow restore for 'edit except password' permission (#12851)
* don't allow restore for 'edit except password' permission
* show login credentials if only passkey is present
* Revert "show login credentials if only passkey is present"
This reverts commit dc2f2367c2.
This commit is contained in:
@@ -235,7 +235,11 @@ export class ViewV2Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected showFooter(): boolean {
|
protected showFooter(): boolean {
|
||||||
return this.cipher && (!this.cipher.isDeleted || (this.cipher.isDeleted && this.cipher.edit));
|
return (
|
||||||
|
this.cipher &&
|
||||||
|
(!this.cipher.isDeleted ||
|
||||||
|
(this.cipher.isDeleted && this.cipher.edit && this.cipher.viewPassword))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
></i>
|
></i>
|
||||||
<span slot="secondary">{{ cipher.subTitle }}</span>
|
<span slot="secondary">{{ cipher.subTitle }}</span>
|
||||||
</button>
|
</button>
|
||||||
<ng-container slot="end" *ngIf="cipher.edit">
|
<ng-container slot="end" *ngIf="cipher.edit && cipher.viewPassword">
|
||||||
<bit-item-action>
|
<bit-item-action>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user