@finema/finework-layer 1.0.72 → 1.0.74

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.74](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.73...1.0.74) (2026-06-02)
4
+
5
+ ### Features
6
+
7
+ * add SUPER permission to CHECKIN module and mark Loan as developing ([181e9e3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/181e9e31ee71d73322043c342906ca57b6a8ecb2))
8
+
9
+ ## [1.0.73](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.72...1.0.73) (2026-05-28)
10
+
11
+ ### Features
12
+
13
+ * enable Loan module for USER, ADMIN, and SUPER permissions with active status ([3292aea](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/3292aeac24bc828385837bbf7baedebe9869865b))
14
+
3
15
  ## [1.0.72](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.71...1.0.72) (2026-05-28)
4
16
 
5
17
  ### Features
@@ -299,7 +299,7 @@ const handleLinkClick = (to: string) => {
299
299
  }
300
300
 
301
301
  const dailyApps = computed(() => [
302
- ...(auth.hasPermission(UserModule.CHECKIN, Permission.USER, Permission.ADMIN)
302
+ ...(auth.hasPermission(UserModule.CHECKIN, Permission.USER, Permission.ADMIN, Permission.SUPER)
303
303
  ? [
304
304
  {
305
305
  name: 'Clock-In',
@@ -433,15 +433,14 @@ const financeApps = computed(() => [
433
433
  },
434
434
  ]
435
435
  : []),
436
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
436
+ ...(auth.hasPermission(UserModule.LOAN, Permission.USER, Permission.ADMIN, Permission.SUPER)
437
437
  ? [
438
438
  {
439
439
  name: 'Loan',
440
440
  logo: '/admin/loan.svg',
441
441
  label: 'Loan',
442
442
  description: 'รายการกู้เงินจากธนาคาร',
443
- // to: routes.loan.list.lists.to,
444
- to: '/',
443
+ to: routes.loan.list.lists.to,
445
444
  status: StatusPortal.DEVELOPING,
446
445
  },
447
446
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.72",
4
+ "version": "1.0.74",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",