1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

[AC-1389] update collection dialog copy based on admin access setting (#7137)

* update collection dialog access copy based on allowAdminAccessToAllCollectionItems setting

* remove requirement to have a Can Manage user if v1 flag is off or admins have access to all collections

---------

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
This commit is contained in:
Will Martin
2024-01-04 22:26:23 -05:00
committed by GitHub
parent 92f593df08
commit 1a38bec901
3 changed files with 34 additions and 6 deletions

View File

@@ -64,6 +64,12 @@
</bit-form-field>
</bit-tab>
<bit-tab label="{{ 'access' | i18n }}">
<div class="tw-mb-3" *ngIf="flexibleCollectionsV1Enabled$ | async">
{{ "grantCollectionAccess" | i18n }}
<span *ngIf="organization.allowAdminAccessToAllCollectionItems">{{
" " + ("adminCollectionAccess" | i18n)
}}</span>
</div>
<div
class="tw-mb-3 tw-text-danger"
*ngIf="formGroup.controls.access.hasError('managePermissionRequired')"