mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Implemented Custom role and permissions
This commit is contained in:
parent
0330641a14
commit
c895ad0380
@ -161,7 +161,7 @@ export class ListCommand {
|
||||
|
||||
try {
|
||||
let response: ApiListResponse<ApiCollectionResponse>;
|
||||
if (organization.isAdmin) {
|
||||
if (organization.canManageAllCollections) {
|
||||
response = await this.apiService.getCollections(cmd.organizationid);
|
||||
} else {
|
||||
response = await this.apiService.getUserCollections();
|
||||
|
Loading…
Reference in New Issue
Block a user