mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[SM-670] Restrict UI actions based on user permission (#5090)
* Restrict UI actions based on user permission * Swap to hiding bulk option without permission * Fix read/write assignment in project service * Filter projects based on permission in dialog * Fix encryption error for updating secret result * Fix spinner (#5182) * Swap to bit-no-items * [SM-699] Projects bulk delete - add bulk confirmation dialog (#5200) * Add bulk confirmation dialog * Code review updates * Code review - load projects * code review - swap to observable * Code review - remove oninit
This commit is contained in:
@@ -4,7 +4,7 @@ import { combineLatest, filter, Observable, startWith, Subject, switchMap, takeU
|
||||
|
||||
import { DialogService } from "@bitwarden/components";
|
||||
|
||||
import { ProjectPermissionDetailsView } from "../../models/view/project.view";
|
||||
import { ProjectView } from "../../models/view/project.view";
|
||||
import {
|
||||
OperationType,
|
||||
ProjectDialogComponent,
|
||||
@@ -17,7 +17,7 @@ import { ProjectService } from "../project.service";
|
||||
templateUrl: "./project.component.html",
|
||||
})
|
||||
export class ProjectComponent implements OnInit, OnDestroy {
|
||||
protected project$: Observable<ProjectPermissionDetailsView>;
|
||||
protected project$: Observable<ProjectView>;
|
||||
|
||||
private organizationId: string;
|
||||
private projectId: string;
|
||||
|
||||
Reference in New Issue
Block a user