From 6285417903f73a0b16aea41e502e8b899c1e17fb Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 19 Mar 2024 19:25:43 +0100 Subject: [PATCH] Feature/change grant private access with permissions to general availability (#3169) * Change grant private access with permissions from experimental to general availability * Update changelog --- CHANGELOG.md | 4 ++++ .../create-or-update-access-dialog.component.ts | 2 +- .../create-or-update-access-dialog.html | 4 +--- .../create-or-update-access-dialog/interfaces/interfaces.ts | 3 +-- .../user-account-access/user-account-access.component.ts | 3 +-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 763bab314..37b4773de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 +### Changed + +- Moved the support to grant private access with permissions from experimental to general availability + ## 2.64.0 - 2024-03-16 ### Added diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts index 896e0370f..4c6cbbb85 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts @@ -29,7 +29,7 @@ export class CreateOrUpdateAccessDialog implements OnDestroy { public constructor( private changeDetectorRef: ChangeDetectorRef, - @Inject(MAT_DIALOG_DATA) public data: CreateOrUpdateAccessDialogParams, + @Inject(MAT_DIALOG_DATA) private data: CreateOrUpdateAccessDialogParams, public dialogRef: MatDialogRef, private dataService: DataService, private formBuilder: FormBuilder diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html index e2ebefd1b..eba44adbd 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.html @@ -35,9 +35,7 @@ Restricted view - @if (data?.user?.settings?.isExperimentalFeatures) { - View - } + View diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/interfaces/interfaces.ts b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/interfaces/interfaces.ts index f3b2f4964..b7850fb38 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/interfaces/interfaces.ts +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/interfaces/interfaces.ts @@ -1,6 +1,5 @@ -import { Access, User } from '@ghostfolio/common/interfaces'; +import { Access } from '@ghostfolio/common/interfaces'; export interface CreateOrUpdateAccessDialogParams { access: Access; - user: User; } diff --git a/apps/client/src/app/components/user-account-access/user-account-access.component.ts b/apps/client/src/app/components/user-account-access/user-account-access.component.ts index 6dc958108..380a03700 100644 --- a/apps/client/src/app/components/user-account-access/user-account-access.component.ts +++ b/apps/client/src/app/components/user-account-access/user-account-access.component.ts @@ -107,8 +107,7 @@ export class UserAccountAccessComponent implements OnDestroy, OnInit { alias: '', permissions: ['READ_RESTRICTED'], type: 'PRIVATE' - }, - user: this.user + } }, height: this.deviceType === 'mobile' ? '97.5vh' : '80vh', width: this.deviceType === 'mobile' ? '100vw' : '50rem'