mirror of
https://github.com/bitwarden/web
synced 2025-12-27 21:53:29 +00:00
Hide email address in Sends (#895)
* Let organizations disable anonymous sends only * Add hide email option to send * Display warning for anonymous Sends * Enforce new Send policy, fix naming conventions * Minor UI improvements * Fix linting * Fully disable editing anonymous Sends per policy * Revert "Let organizations disable anonymous sends only" This reverts commit7877cb7751. * Revert disableSendPolicy, add sendOptionsPolicy * Rework UI for enforcing DisableHideEmail * Fix typo * Minor UI tweaks * Minor UI tweaks * Tweaks to UI copy * Apply suggestions from code review Minor changes to UI text Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com> * style fixes * update jslib * Move SendOptionsExemptions warning banner * updated service params * Remove whitespace * updated jslib * Revert "updated jslib" This reverts commit8fd141c5b7. * updated jslib * Attachment azure upload blobs (#898) * Upload and download attachments using direct urls * Include FileUploadService dependency * Update max file size message to current max * Update jslib * Update jslib * updated service params Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com> Co-authored-by: addison <addisonbeck1@gmail.com> Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
<app-callout *ngIf="disableSend">
|
||||
<span>{{'sendDisabledWarning' | i18n}}</span>
|
||||
</app-callout>
|
||||
<app-callout *ngIf="!disableSend && disableHideEmail">
|
||||
<span>{{'sendOptionsPolicyInEffect' | i18n}}</span>
|
||||
<ul class="mb-0">
|
||||
<li>{{'sendDisableHideEmailInEffect' | i18n}}</li>
|
||||
</ul>
|
||||
</app-callout>
|
||||
<div class="row">
|
||||
<div class="col-6 form-group">
|
||||
<label for="name">{{'name' | i18n}}</label>
|
||||
@@ -207,6 +213,15 @@
|
||||
[readOnly]="disableSend"></textarea>
|
||||
<div class="form-text text-muted small">{{'sendNotesDesc' | i18n}}</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" [(ngModel)]="send.hideEmail" id="hideEmail"
|
||||
name="HideEmail" [disabled]="(disableHideEmail && !send.hideEmail) || disableSend">
|
||||
<label class="form-check-label" for="hideEmail">
|
||||
{{'hideEmail' | i18n}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" [(ngModel)]="send.disabled" id="disabled"
|
||||
|
||||
Reference in New Issue
Block a user