@finema/finework-layer 1.0.62 → 1.0.63
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.63](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.62...1.0.63) (2026-05-23)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* enhance permission checks for management, finance, and people apps ([5ec9a9a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/5ec9a9a041c1f4957523183a7a5ad2a0e87bac49))
|
|
8
|
+
|
|
3
9
|
## [1.0.62](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.61...1.0.62) (2026-05-19)
|
|
4
10
|
|
|
5
11
|
### Features
|
|
@@ -56,7 +56,10 @@
|
|
|
56
56
|
v-for="group in navigationItems"
|
|
57
57
|
:key="group.label"
|
|
58
58
|
>
|
|
59
|
-
<div
|
|
59
|
+
<div
|
|
60
|
+
class="truncate px-2.5 text-xs font-bold text-gray-500"
|
|
61
|
+
:class="isCollapsed ?'text-center' : ''"
|
|
62
|
+
>
|
|
60
63
|
{{ group.label }}
|
|
61
64
|
</div>
|
|
62
65
|
<Separator
|
|
@@ -355,7 +355,7 @@ const managementApps = computed(() => [
|
|
|
355
355
|
},
|
|
356
356
|
]
|
|
357
357
|
: []),
|
|
358
|
-
...(auth.hasPermission(UserModule.CHECKIN, Permission.ADMIN)
|
|
358
|
+
...(auth.hasPermission(UserModule.CHECKIN, Permission.ADMIN, Permission.SUPER)
|
|
359
359
|
? [
|
|
360
360
|
{
|
|
361
361
|
name: 'clockin-admin',
|
|
@@ -385,7 +385,7 @@ const managementApps = computed(() => [
|
|
|
385
385
|
|
|
386
386
|
const financeApps = computed(() => [
|
|
387
387
|
|
|
388
|
-
...(auth.hasPermission(UserModule.QUOTATION, Permission.USER, Permission.ADMIN)
|
|
388
|
+
...(auth.hasPermission(UserModule.QUOTATION, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
389
389
|
? [
|
|
390
390
|
{
|
|
391
391
|
name: 'Quotation',
|
|
@@ -448,7 +448,7 @@ const financeApps = computed(() => [
|
|
|
448
448
|
])
|
|
449
449
|
|
|
450
450
|
const peopleApps = computed(() => [
|
|
451
|
-
...(auth.hasPermission(UserModule.EMPLOYEE, Permission.USER, Permission.ADMIN)
|
|
451
|
+
...(auth.hasPermission(UserModule.EMPLOYEE, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
452
452
|
? [
|
|
453
453
|
{
|
|
454
454
|
name: 'Employee',
|
|
@@ -460,7 +460,7 @@ const peopleApps = computed(() => [
|
|
|
460
460
|
},
|
|
461
461
|
]
|
|
462
462
|
: []),
|
|
463
|
-
...(auth.hasPermission(UserModule.NEWSLETTER, Permission.USER, Permission.ADMIN)
|
|
463
|
+
...(auth.hasPermission(UserModule.NEWSLETTER, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
464
464
|
? [
|
|
465
465
|
{
|
|
466
466
|
name: 'Newsletter',
|
|
@@ -473,7 +473,7 @@ const peopleApps = computed(() => [
|
|
|
473
473
|
]
|
|
474
474
|
: []),
|
|
475
475
|
|
|
476
|
-
...(auth.hasPermission(UserModule.ASSET, Permission.USER, Permission.ADMIN)
|
|
476
|
+
...(auth.hasPermission(UserModule.ASSET, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
477
477
|
? [
|
|
478
478
|
{
|
|
479
479
|
name: 'Assets',
|