|
|
|
@ -27,18 +27,18 @@
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@if (accessForm.get('type').value === 'PRIVATE') {
|
|
|
|
|
<div>
|
|
|
|
|
<mat-form-field appearance="outline" class="w-100">
|
|
|
|
|
<mat-label i18n>Permission</mat-label>
|
|
|
|
|
<mat-select formControlName="permissions">
|
|
|
|
|
<mat-option i18n value="READ_RESTRICTED"
|
|
|
|
|
>Restricted view</mat-option
|
|
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
|
<mat-form-field appearance="outline" class="w-100">
|
|
|
|
|
<mat-label i18n>Permission</mat-label>
|
|
|
|
|
<mat-select formControlName="permissions">
|
|
|
|
|
<mat-option i18n value="READ_RESTRICTED">Restricted view</mat-option>
|
|
|
|
|
@if (accessForm.get('type').value === 'PRIVATE') {
|
|
|
|
|
<mat-option i18n value="READ">View</mat-option>
|
|
|
|
|
</mat-select>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</mat-select>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
</div>
|
|
|
|
|
@if (accessForm.get('type').value === 'PRIVATE') {
|
|
|
|
|
<div>
|
|
|
|
|
<mat-form-field appearance="outline" class="w-100">
|
|
|
|
|
<mat-label>
|
|
|
|
|