Feature/change grant private access with permissions to general availability (#3169)

* Change grant private access with permissions from experimental to general availability

* Update changelog
pull/3164/head^2
Thomas Kaul 10 months ago committed by GitHub
parent ca674a654e
commit 6285417903
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added the symbol and ISIN number to the position detail dialog - Added the symbol and ISIN number to the position detail dialog
### Changed
- Moved the support to grant private access with permissions from experimental to general availability
## 2.64.0 - 2024-03-16 ## 2.64.0 - 2024-03-16
### Added ### Added

@ -29,7 +29,7 @@ export class CreateOrUpdateAccessDialog implements OnDestroy {
public constructor( public constructor(
private changeDetectorRef: ChangeDetectorRef, private changeDetectorRef: ChangeDetectorRef,
@Inject(MAT_DIALOG_DATA) public data: CreateOrUpdateAccessDialogParams, @Inject(MAT_DIALOG_DATA) private data: CreateOrUpdateAccessDialogParams,
public dialogRef: MatDialogRef<CreateOrUpdateAccessDialog>, public dialogRef: MatDialogRef<CreateOrUpdateAccessDialog>,
private dataService: DataService, private dataService: DataService,
private formBuilder: FormBuilder private formBuilder: FormBuilder

@ -35,9 +35,7 @@
<mat-option i18n value="READ_RESTRICTED" <mat-option i18n value="READ_RESTRICTED"
>Restricted view</mat-option >Restricted view</mat-option
> >
@if (data?.user?.settings?.isExperimentalFeatures) { <mat-option i18n value="READ">View</mat-option>
<mat-option i18n value="READ">View</mat-option>
}
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>
</div> </div>

@ -1,6 +1,5 @@
import { Access, User } from '@ghostfolio/common/interfaces'; import { Access } from '@ghostfolio/common/interfaces';
export interface CreateOrUpdateAccessDialogParams { export interface CreateOrUpdateAccessDialogParams {
access: Access; access: Access;
user: User;
} }

@ -107,8 +107,7 @@ export class UserAccountAccessComponent implements OnDestroy, OnInit {
alias: '', alias: '',
permissions: ['READ_RESTRICTED'], permissions: ['READ_RESTRICTED'],
type: 'PRIVATE' type: 'PRIVATE'
}, }
user: this.user
}, },
height: this.deviceType === 'mobile' ? '97.5vh' : '80vh', height: this.deviceType === 'mobile' ? '97.5vh' : '80vh',
width: this.deviceType === 'mobile' ? '100vw' : '50rem' width: this.deviceType === 'mobile' ? '100vw' : '50rem'

Loading…
Cancel
Save