@finema/finework-layer 2.0.44 → 2.0.45
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/composables/useAuth.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.45](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.44...2.0.45) (2026-08-21)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add document module to user access system ([006cae0](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/006cae07b25c3c941eabf3e449eeb05892465f46))
|
|
8
|
+
|
|
3
9
|
## [2.0.44](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.43...2.0.44) (2026-08-20)
|
|
4
10
|
|
|
5
11
|
### Features
|
|
@@ -110,6 +110,7 @@ export enum UserModule {
|
|
|
110
110
|
PMO_PRESALE_BIDDING = 'pmo_presale_bidding',
|
|
111
111
|
PMO_DELIVERY = 'pmo_delivery',
|
|
112
112
|
PMO_WARRANTY = 'pmo_warranty',
|
|
113
|
+
DOCUMENT = 'document',
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
const UserModuleLabel = {
|
|
@@ -137,6 +138,7 @@ const UserModuleLabel = {
|
|
|
137
138
|
[UserModule.PMO_PRESALE_BIDDING]: 'PMO Presale Bidding',
|
|
138
139
|
[UserModule.PMO_DELIVERY]: 'PMO Delivery',
|
|
139
140
|
[UserModule.PMO_WARRANTY]: 'PMO Warranty',
|
|
141
|
+
[UserModule.DOCUMENT]: 'Document',
|
|
140
142
|
}
|
|
141
143
|
|
|
142
144
|
const UserModuleLogo = {
|
|
@@ -164,6 +166,7 @@ const UserModuleLogo = {
|
|
|
164
166
|
[UserModule.PMO_PRESALE_BIDDING]: '/admin/pmo_presale_bidding.png',
|
|
165
167
|
[UserModule.PMO_DELIVERY]: '/admin/pmo_delivery.png',
|
|
166
168
|
[UserModule.PMO_WARRANTY]: '/admin/pmo_warranty.png',
|
|
169
|
+
[UserModule.DOCUMENT]: '/admin/document.png',
|
|
167
170
|
}
|
|
168
171
|
|
|
169
172
|
export const UserModuleOptions = Object.entries(UserModuleLabel).map(([value, label]) => ({
|
|
@@ -202,6 +205,7 @@ export interface IUserAccessLevel {
|
|
|
202
205
|
pmo_presale_bidding: Permission
|
|
203
206
|
pmo_delivery: Permission
|
|
204
207
|
pmo_warranty: Permission
|
|
208
|
+
document: Permission
|
|
205
209
|
}
|
|
206
210
|
|
|
207
211
|
export const convertDomainToCookieDomain = (domain: string) => {
|