1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

[AC-2071] Fix bulk collection access API call (#7681)

* Fix HTTP error when bulk editing collection access

Add missing forward slash in URL string

* Only show bulk collection access if using FC
This commit is contained in:
Thomas Rittson 2024-01-26 07:01:13 +10:00 committed by GitHub
parent 2c1d215b71
commit 34579e3831
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export class CollectionAdminService {
await this.apiService.send(
"POST",
`organizations/${organizationId}/collections/bulk-access`,
`/organizations/${organizationId}/collections/bulk-access`,
request,
true,
false,

View File

@ -55,7 +55,9 @@
[cloneableOrganizationCiphers]="true"
[showAdminActions]="true"
(onEvent)="onVaultItemsEvent($event)"
[showBulkEditCollectionAccess]="showBulkEditCollectionAccess$ | async"
[showBulkEditCollectionAccess]="
(showBulkEditCollectionAccess$ | async) && organization?.flexibleCollections
"
[viewingOrgVault]="true"
>
</app-vault-items>