@finema/finework-layer 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/app/components/PortalApp.vue +12 -12
- package/app/composables/useAuth.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.13...1.0.14) (2026-03-18)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* portal app resource ([fd9a0b2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/fd9a0b2a85f8b478c1392ae155ceecf33e335ffa))
|
|
8
|
+
|
|
3
9
|
## [1.0.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.12...1.0.13) (2026-03-13)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -410,18 +410,6 @@ const financeApps = computed(() => [
|
|
|
410
410
|
},
|
|
411
411
|
]
|
|
412
412
|
: []),
|
|
413
|
-
// ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
|
|
414
|
-
// ? [
|
|
415
|
-
// {
|
|
416
|
-
// name: 'Purchase',
|
|
417
|
-
// logo: '/admin/purchase.png',
|
|
418
|
-
// label: 'Purchase',
|
|
419
|
-
// description: 'จัดการเอกสารการจ่ายงวด',
|
|
420
|
-
// to: '/',
|
|
421
|
-
// status: StatusPortal.DEVELOPING,
|
|
422
|
-
// },
|
|
423
|
-
// ]
|
|
424
|
-
// : []),
|
|
425
413
|
])
|
|
426
414
|
|
|
427
415
|
const peopleApps = computed(() => [
|
|
@@ -486,6 +474,18 @@ const peopleApps = computed(() => [
|
|
|
486
474
|
},
|
|
487
475
|
]
|
|
488
476
|
: []),
|
|
477
|
+
...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
|
|
478
|
+
? [
|
|
479
|
+
{
|
|
480
|
+
name: 'Resource',
|
|
481
|
+
logo: '/admin/resource.svg',
|
|
482
|
+
label: 'Resource',
|
|
483
|
+
description: 'ระบบจัดการการประเมิน',
|
|
484
|
+
to: '/',
|
|
485
|
+
status: StatusPortal.DEVELOPING,
|
|
486
|
+
},
|
|
487
|
+
]
|
|
488
|
+
: []),
|
|
489
489
|
|
|
490
490
|
])
|
|
491
491
|
|
|
@@ -100,6 +100,7 @@ export enum UserModule {
|
|
|
100
100
|
BIDBOND = 'bidbond',
|
|
101
101
|
EFACTORING = 'efactoring',
|
|
102
102
|
PURCHASE = 'purchase',
|
|
103
|
+
RESOURCE = 'resource',
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
export interface IUserAccessLevel {
|
|
@@ -121,6 +122,7 @@ export interface IUserAccessLevel {
|
|
|
121
122
|
bidbond: Permission
|
|
122
123
|
efactoring: Permission
|
|
123
124
|
purchase: Permission
|
|
125
|
+
resource: Permission
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
export const convertDomainToCookieDomain = (domain: string) => {
|