mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[AC-2483] Added new Add Access UI to the collection dialog for AC (#9090)
* added new Add Access UI to the collection dialog for AC
This commit is contained in:
@@ -69,6 +69,13 @@
|
||||
<span>{{ "readOnlyCollectionAccess" | i18n }}</span>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="!dialogReadonly">
|
||||
<bit-callout
|
||||
title="{{ 'grantAddAccessCollectionWarningTitle' | i18n }}"
|
||||
type="warning"
|
||||
*ngIf="showAddAccessWarning"
|
||||
>
|
||||
{{ "grantAddAccessCollectionWarning" | i18n }}
|
||||
</bit-callout>
|
||||
<span *ngIf="organization.useGroups">{{ "grantCollectionAccess" | i18n }}</span>
|
||||
<span *ngIf="!organization.useGroups">{{
|
||||
"grantCollectionAccessMembersOnly" | i18n
|
||||
@@ -84,7 +91,10 @@
|
||||
</div>
|
||||
<div
|
||||
class="tw-mb-3 tw-text-danger"
|
||||
*ngIf="formGroup.controls.access.hasError('managePermissionRequired')"
|
||||
*ngIf="
|
||||
formGroup.controls.access.hasError('managePermissionRequired') &&
|
||||
!showAddAccessWarning
|
||||
"
|
||||
>
|
||||
<i class="bwi bwi-error"></i> {{ "managePermissionRequired" | i18n }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user