1
0
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:
addison 2020-12-22 13:59:07 -05:00
parent 0330641a14
commit c895ad0380

View File

@ -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();