Merge pull request #204 from bitwarden/Permissions
Implemented Custom role and permissions
This commit is contained in:
commit
998e07d897
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit cea09a22e533ef3598bb497ba0503c2fcd5b2dc1
|
||||
Subproject commit 6ac6df75d7a9bd5ea58f5d8310f1b3e34abd2bde
|
|
@ -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