@finema/finework-layer 1.0.26 → 1.0.27

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.27](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.26...1.0.27) (2026-03-31)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update resource route and permissions in PortalApp and useAuth ([256b442](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/256b4428f9817f2d50c435048349d9054ac929a6))
8
+
3
9
  ## [1.0.26](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.25...1.0.26) (2026-03-27)
4
10
 
5
11
  ### Bug Fixes
@@ -516,7 +516,7 @@ const peopleApps = computed(() => [
516
516
  logo: '/admin/resource.svg',
517
517
  label: 'Resource',
518
518
  description: 'ระบบจัดการทรัพยากรบุคคล',
519
- to: '/',
519
+ to: routes.resource.talentSearchAndCvBuilder.to,
520
520
  status: StatusPortal.ACTIVE,
521
521
  },
522
522
  ]
@@ -97,9 +97,8 @@ export enum UserModule {
97
97
  EMPLOYEE = 'employee',
98
98
  ASSET = 'asset',
99
99
  RECRUIT = 'recruit',
100
- BIDBOND = 'bidbond',
100
+ GUARANTEE = 'guarantee',
101
101
  EFACTORING = 'efactoring',
102
- PURCHASE = 'purchase',
103
102
  RESOURCE = 'resource',
104
103
  }
105
104
 
@@ -119,9 +118,8 @@ export interface IUserAccessLevel {
119
118
  employee: Permission
120
119
  asset: Permission
121
120
  recruit: Permission
122
- bidbond: Permission
121
+ guarantee: Permission
123
122
  efactoring: Permission
124
- purchase: Permission
125
123
  resource: Permission
126
124
  }
127
125
 
@@ -177,5 +177,13 @@ export const routes = {
177
177
  permissions: ['request:USER', 'request:ADMIN', 'request:SUPER'],
178
178
  },
179
179
  },
180
+ resource: {
181
+ talentSearchAndCvBuilder: {
182
+ label: 'Talent Search & CV Builder',
183
+ to: '/resource/talent-search',
184
+ icon: 'ph:certificate',
185
+ permissions: ['resource:USER', 'resource:ADMIN', 'resource:SUPER'],
186
+ },
187
+ },
180
188
 
181
189
  } as const
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.26",
4
+ "version": "1.0.27",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",