@ieeesa-npm/tenants 0.4.4 → 0.5.0
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/esm2022/ieeesa-npm-tenants.mjs +5 -0
- package/esm2022/lib/assets/constants.json +454 -0
- package/esm2022/lib/assets/tenant-validations.mjs +17 -0
- package/esm2022/lib/components/create-modify-group-type/create-modify-group-type.component.mjs +476 -0
- package/esm2022/lib/components/create-modify-role/create-modify-role.component.mjs +279 -0
- package/esm2022/lib/components/create-tenant-application/create-tenant-application.component.mjs +512 -0
- package/esm2022/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.mjs +391 -0
- package/esm2022/lib/components/tenant-basic-details/tenant-basic-details.component.mjs +94 -0
- package/esm2022/lib/components/view-tenant-details/view-tenant-details.component.mjs +733 -0
- package/esm2022/lib/components/view-tenant-group-types/view-tenant-group-types.component.mjs +194 -0
- package/esm2022/lib/components/view-tenants-list/view-tenants-list.component.mjs +335 -0
- package/esm2022/lib/models/app-type-config.model.mjs +2 -0
- package/esm2022/lib/models/app-type.model.mjs +7 -0
- package/esm2022/lib/models/create-group-type-config.model.mjs +22 -0
- package/esm2022/lib/models/create-group-type.model.mjs +2 -0
- package/esm2022/lib/models/feature-permission-id.model.mjs +8 -0
- package/esm2022/lib/models/features.model.mjs +2 -0
- package/esm2022/lib/models/permission-type.model.mjs +12 -0
- package/esm2022/lib/models/role-menu-action.model.mjs +7 -0
- package/esm2022/lib/models/role-type.model.mjs +2 -0
- package/esm2022/lib/models/roles-and-permissions-table-type.model.mjs +7 -0
- package/esm2022/lib/models/roles-and-permissions.model.mjs +2 -0
- package/esm2022/lib/models/route-config.model.mjs +2 -0
- package/esm2022/lib/models/table-column-schema-view-tenant-list.model.mjs +16 -0
- package/esm2022/lib/models/tenant-function-type.model.mjs +12 -0
- package/esm2022/lib/models/tenant.model.mjs +2 -0
- package/esm2022/lib/models/tenants-permission.model.mjs +2 -0
- package/esm2022/lib/models/update-tenant-status.model.mjs +2 -0
- package/esm2022/lib/models/view-tenant-group-types.model.mjs +11 -0
- package/esm2022/lib/services/tenant-applications.service.mjs +618 -0
- package/esm2022/lib/services/tenant-permissions-map.service.mjs +36 -0
- package/esm2022/lib/services/tenant-permissions.service.mjs +38 -0
- package/esm2022/lib/tenant-applications.component.mjs +14 -0
- package/esm2022/lib/tenant-applications.module.mjs +16 -0
- package/esm2022/public-api.mjs +36 -0
- package/fesm2022/ieeesa-npm-tenants.mjs +4233 -0
- package/fesm2022/ieeesa-npm-tenants.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/assets/tenant-validations.d.ts +15 -0
- package/lib/components/create-modify-group-type/create-modify-group-type.component.d.ts +129 -0
- package/lib/components/create-modify-role/create-modify-role.component.d.ts +103 -0
- package/lib/components/create-tenant-application/create-tenant-application.component.d.ts +128 -0
- package/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.d.ts +106 -0
- package/lib/components/tenant-basic-details/tenant-basic-details.component.d.ts +471 -0
- package/lib/components/view-tenant-details/view-tenant-details.component.d.ts +223 -0
- package/lib/components/view-tenant-group-types/view-tenant-group-types.component.d.ts +63 -0
- package/lib/components/view-tenants-list/view-tenants-list.component.d.ts +134 -0
- package/lib/models/app-type-config.model.d.ts +14 -0
- package/lib/models/app-type.model.d.ts +4 -0
- package/lib/models/create-group-type-config.model.d.ts +16 -0
- package/lib/models/create-group-type.model.d.ts +49 -0
- package/lib/models/feature-permission-id.model.d.ts +4 -0
- package/lib/models/features.model.d.ts +15 -0
- package/lib/models/permission-type.model.d.ts +8 -0
- package/lib/models/role-menu-action.model.d.ts +4 -0
- package/lib/models/role-type.model.d.ts +27 -0
- package/lib/models/roles-and-permissions-table-type.model.d.ts +4 -0
- package/lib/models/roles-and-permissions.model.d.ts +119 -0
- package/lib/models/route-config.model.d.ts +4 -0
- package/lib/models/table-column-schema-view-tenant-list.model.d.ts +20 -0
- package/lib/models/tenant-function-type.model.d.ts +9 -0
- package/lib/models/tenant.model.d.ts +51 -0
- package/lib/models/tenants-permission.model.d.ts +9 -0
- package/lib/models/update-tenant-status.model.d.ts +14 -0
- package/lib/models/view-tenant-group-types.model.d.ts +29 -0
- package/lib/services/tenant-applications.service.d.ts +399 -0
- package/lib/services/tenant-permissions-map.service.d.ts +13 -0
- package/lib/services/tenant-permissions.service.d.ts +22 -0
- package/lib/tenant-applications.component.d.ts +5 -0
- package/lib/tenant-applications.module.d.ts +6 -0
- package/package.json +25 -12
- package/{src/public-api.ts → public-api.d.ts} +32 -40
- package/.eslintrc.json +0 -31
- package/ng-package.json +0 -8
- package/src/lib/assets/constants.json +0 -454
- package/src/lib/assets/tenant-validations.ts +0 -18
- package/src/lib/assets/tenants-mock.ts +0 -1240
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.html +0 -15
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.scss +0 -44
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.spec.ts +0 -574
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.ts +0 -602
- package/src/lib/components/create-modify-role/create-modify-role.component.html +0 -15
- package/src/lib/components/create-modify-role/create-modify-role.component.scss +0 -83
- package/src/lib/components/create-modify-role/create-modify-role.component.spec.ts +0 -346
- package/src/lib/components/create-modify-role/create-modify-role.component.ts +0 -321
- package/src/lib/components/create-tenant-application/create-tenant-application.component.html +0 -18
- package/src/lib/components/create-tenant-application/create-tenant-application.component.scss +0 -73
- package/src/lib/components/create-tenant-application/create-tenant-application.component.spec.ts +0 -775
- package/src/lib/components/create-tenant-application/create-tenant-application.component.ts +0 -638
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.html +0 -22
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.scss +0 -79
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.spec.ts +0 -716
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.ts +0 -504
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.html +0 -44
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.scss +0 -16
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.spec.ts +0 -115
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.ts +0 -109
- package/src/lib/components/view-tenant-details/view-tenant-details.component.html +0 -195
- package/src/lib/components/view-tenant-details/view-tenant-details.component.scss +0 -163
- package/src/lib/components/view-tenant-details/view-tenant-details.component.spec.ts +0 -1221
- package/src/lib/components/view-tenant-details/view-tenant-details.component.ts +0 -876
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.html +0 -10
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.scss +0 -44
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.spec.ts +0 -410
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.ts +0 -219
- package/src/lib/components/view-tenants-list/view-tenants-list.component.html +0 -32
- package/src/lib/components/view-tenants-list/view-tenants-list.component.scss +0 -35
- package/src/lib/components/view-tenants-list/view-tenants-list.component.spec.ts +0 -464
- package/src/lib/components/view-tenants-list/view-tenants-list.component.ts +0 -388
- package/src/lib/models/app-type-config.model.ts +0 -14
- package/src/lib/models/app-type.model.ts +0 -5
- package/src/lib/models/create-group-type-config.model.ts +0 -18
- package/src/lib/models/create-group-type.model.ts +0 -46
- package/src/lib/models/feature-permission-id.model.ts +0 -6
- package/src/lib/models/features.model.ts +0 -15
- package/src/lib/models/form-status.model.ts +0 -5
- package/src/lib/models/permission-type.model.ts +0 -9
- package/src/lib/models/role-menu-action.model.ts +0 -5
- package/src/lib/models/role-type.model.ts +0 -34
- package/src/lib/models/roles-and-permissions-table-type.model.ts +0 -5
- package/src/lib/models/roles-and-permissions.model.ts +0 -113
- package/src/lib/models/route-config.model.ts +0 -4
- package/src/lib/models/table-column-schema-view-tenant-list.model.ts +0 -21
- package/src/lib/models/tenant-function-type.model.ts +0 -10
- package/src/lib/models/tenant.model.ts +0 -47
- package/src/lib/models/tenants-permission.model.ts +0 -9
- package/src/lib/models/update-tenant-status.model.ts +0 -12
- package/src/lib/models/view-tenant-group-types.model.ts +0 -34
- package/src/lib/services/tenant-applications.service.spec.ts +0 -1245
- package/src/lib/services/tenant-applications.service.ts +0 -798
- package/src/lib/services/tenant-permissions-map.service.spec.ts +0 -25
- package/src/lib/services/tenant-permissions-map.service.ts +0 -28
- package/src/lib/services/tenant-permissions.service.spec.ts +0 -62
- package/src/lib/services/tenant-permissions.service.ts +0 -49
- package/src/lib/tenant-applications.component.html +0 -0
- package/src/lib/tenant-applications.component.scss +0 -0
- package/src/lib/tenant-applications.component.spec.ts +0 -28
- package/src/lib/tenant-applications.component.ts +0 -12
- package/src/lib/tenant-applications.module.ts +0 -8
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,1240 +0,0 @@
|
|
|
1
|
-
import { AppType } from '../models/app-type.model';
|
|
2
|
-
import { PermissionType } from '../models/permission-type.model';
|
|
3
|
-
import { SortOrderBy } from '../models/table-column-schema-view-tenant-list.model';
|
|
4
|
-
|
|
5
|
-
export const TenantsMocks = {
|
|
6
|
-
getApiBaseURL: 'https://saappsapidev.ieee.org/v1',
|
|
7
|
-
getTenantsMockPayload: {
|
|
8
|
-
payload: {
|
|
9
|
-
offset: 1,
|
|
10
|
-
pageSize: 10,
|
|
11
|
-
sortedBy: 'appId',
|
|
12
|
-
sortedOrderBy: SortOrderBy.ASC,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
getTenantsMockResponse: {
|
|
16
|
-
status: true,
|
|
17
|
-
message: 'Success',
|
|
18
|
-
body: {
|
|
19
|
-
totalRecords: 25,
|
|
20
|
-
appDetails: [
|
|
21
|
-
{
|
|
22
|
-
appId: 'NESC1',
|
|
23
|
-
appTitle: 'nesc_a',
|
|
24
|
-
appHeading: 'test',
|
|
25
|
-
appDescription: 'test',
|
|
26
|
-
status: false,
|
|
27
|
-
features: [
|
|
28
|
-
{
|
|
29
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
30
|
-
featureName: 'Meetings & Events',
|
|
31
|
-
isDefault: false,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
35
|
-
featureName: 'Meetings & Events',
|
|
36
|
-
isDefault: false,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
40
|
-
featureName: 'Meetings & Events',
|
|
41
|
-
isDefault: false,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
45
|
-
featureName: 'Meetings & Events',
|
|
46
|
-
isDefault: false,
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
appId: 'NESC',
|
|
52
|
-
appTitle: 'nesc_n',
|
|
53
|
-
appHeading: 'test',
|
|
54
|
-
appDescription: 'test',
|
|
55
|
-
status: false,
|
|
56
|
-
features: [
|
|
57
|
-
{
|
|
58
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
59
|
-
featureName: 'Meetings & Events',
|
|
60
|
-
isDefault: false,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
featureId: 'FEATURE_348f62c2-a8a1-404e-b4a9-06e416590cbb',
|
|
64
|
-
featureName: 'Groups & Rosters',
|
|
65
|
-
isDefault: false,
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
appId: 'NESC5',
|
|
71
|
-
appTitle: 'nesc_n1',
|
|
72
|
-
appHeading: 'test',
|
|
73
|
-
appDescription: 'test',
|
|
74
|
-
status: false,
|
|
75
|
-
features: [
|
|
76
|
-
{
|
|
77
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
78
|
-
featureName: 'Meetings & Events',
|
|
79
|
-
isDefault: false,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
appId: 'NESC2',
|
|
85
|
-
appTitle: 'nesc_n1',
|
|
86
|
-
appHeading: 'test',
|
|
87
|
-
appDescription: 'test',
|
|
88
|
-
status: false,
|
|
89
|
-
features: [
|
|
90
|
-
{
|
|
91
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
92
|
-
featureName: 'Meetings & Events',
|
|
93
|
-
isDefault: false,
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
appId: 'NESC7',
|
|
99
|
-
appTitle: 'nesc_n1',
|
|
100
|
-
appHeading: 'test',
|
|
101
|
-
appDescription: 'test',
|
|
102
|
-
status: false,
|
|
103
|
-
features: [
|
|
104
|
-
{
|
|
105
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
106
|
-
featureName: 'Meetings & Events',
|
|
107
|
-
isDefault: false,
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
appId: 'NESC3',
|
|
113
|
-
appTitle: 'nesc_n1',
|
|
114
|
-
appHeading: 'test',
|
|
115
|
-
appDescription: 'test',
|
|
116
|
-
status: false,
|
|
117
|
-
features: [
|
|
118
|
-
{
|
|
119
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
120
|
-
featureName: 'Meetings & Events',
|
|
121
|
-
isDefault: false,
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
appId: 'NESC6',
|
|
127
|
-
appTitle: 'nesc_n1',
|
|
128
|
-
appHeading: 'test',
|
|
129
|
-
appDescription: 'test',
|
|
130
|
-
status: false,
|
|
131
|
-
features: [
|
|
132
|
-
{
|
|
133
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
134
|
-
featureName: 'Meetings & Events',
|
|
135
|
-
isDefault: false,
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
appId: 'NESC4',
|
|
141
|
-
appTitle: 'nesc_n1',
|
|
142
|
-
appHeading: 'test',
|
|
143
|
-
appDescription: 'test',
|
|
144
|
-
status: false,
|
|
145
|
-
features: [
|
|
146
|
-
{
|
|
147
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
148
|
-
featureName: 'Meetings & Events',
|
|
149
|
-
isDefault: false,
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
appId: 'SAAPPS',
|
|
155
|
-
appTitle: 'saapps_s',
|
|
156
|
-
appHeading: 'test',
|
|
157
|
-
appDescription: 'test',
|
|
158
|
-
status: false,
|
|
159
|
-
features: [
|
|
160
|
-
{
|
|
161
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
162
|
-
featureName: 'Meetings & Events',
|
|
163
|
-
isDefault: false,
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
appId: 'SAAPPS4',
|
|
169
|
-
appTitle: 'saapps_s1',
|
|
170
|
-
appHeading: 'test',
|
|
171
|
-
appDescription: 'test',
|
|
172
|
-
status: false,
|
|
173
|
-
features: [
|
|
174
|
-
{
|
|
175
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
176
|
-
featureName: 'Meetings & Events',
|
|
177
|
-
isDefault: false,
|
|
178
|
-
},
|
|
179
|
-
],
|
|
180
|
-
},
|
|
181
|
-
],
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
tenantInfoMock: {
|
|
185
|
-
appId: 'NESC1',
|
|
186
|
-
appTitle: 'SA Collaboration portal',
|
|
187
|
-
appHeading: 'test',
|
|
188
|
-
appDescription: 'test',
|
|
189
|
-
status: false,
|
|
190
|
-
features: [
|
|
191
|
-
{
|
|
192
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
193
|
-
featureName: 'Meetings & Events',
|
|
194
|
-
isDefault: false,
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
198
|
-
featureName: 'Meetings & Events',
|
|
199
|
-
isDefault: false,
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
203
|
-
featureName: 'Meetings & Events',
|
|
204
|
-
isDefault: false,
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
208
|
-
featureName: 'Meetings & Events',
|
|
209
|
-
isDefault: false,
|
|
210
|
-
},
|
|
211
|
-
],
|
|
212
|
-
},
|
|
213
|
-
mockGlobalTenantsPermissions: [
|
|
214
|
-
{
|
|
215
|
-
permissionType: PermissionType.VIEW_TENANTS,
|
|
216
|
-
permissionName: 'View Tenant Applications',
|
|
217
|
-
permissionId: 'PERM_1a2dbbb5-5fe1-4261-85b1-a5373f41075a',
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
permissionType: PermissionType.MANAGE_TENANT,
|
|
221
|
-
permissionId: 'PERM_315c49ec-f79a-4dcd-9795-6f97838c8c83',
|
|
222
|
-
permissionName: 'Manage (Create, Edit, Disable) Tenant Application',
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
mockUserPermissions: [
|
|
226
|
-
{
|
|
227
|
-
permissionName: 'View Tenant Applications',
|
|
228
|
-
permissionId: 'PERM_1a2dbbb5-5fe1-4261-85b1-a5373f41075a',
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
permissionId: 'PERM_315c49ec-f79a-4dcd-9795-6f97838c8c83',
|
|
232
|
-
permissionName: 'Manage (Create, Edit, Disable) Tenant Application',
|
|
233
|
-
},
|
|
234
|
-
],
|
|
235
|
-
unsortedMockUserRoles: {
|
|
236
|
-
status: true,
|
|
237
|
-
message: 'SUCCESS',
|
|
238
|
-
body: [
|
|
239
|
-
{
|
|
240
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
241
|
-
roleName: 'Admin',
|
|
242
|
-
roleTypeName: 'System',
|
|
243
|
-
roleType: '11',
|
|
244
|
-
viewOrder: 1,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
roleId: 'ROLE_NESC_ec0ec0cb-94a6-482e-8c84-31c3eb2a1526',
|
|
248
|
-
roleName: 'Editor',
|
|
249
|
-
roleTypeName: 'System',
|
|
250
|
-
roleType: '11',
|
|
251
|
-
viewOrder: 1,
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
roleId: 'ROLE_NESC_cf32e87f-6d03-410f-8670-62fd11da1b44',
|
|
255
|
-
roleName: 'Voting Member (Primary)',
|
|
256
|
-
roleTypeName: 'Officer',
|
|
257
|
-
roleType: '22',
|
|
258
|
-
viewOrder: 2,
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
roleId: 'ROLE_NESC_365dac5c-5558-4dad-9406-aa9063d0dbdf',
|
|
262
|
-
roleName: 'Voting Member (Alternate)',
|
|
263
|
-
roleTypeName: 'Officer',
|
|
264
|
-
roleType: '22',
|
|
265
|
-
viewOrder: 2,
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
roleId: 'ROLE_NESC_46ea2d1a-8004-485f-b0bc-9237a5ae1eb2',
|
|
269
|
-
roleName: 'Non-Voter',
|
|
270
|
-
roleTypeName: 'Officer',
|
|
271
|
-
roleType: '22',
|
|
272
|
-
viewOrder: 2,
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
roleId: 'ROLE_NESC_4a47d1e2-1c9d-4ab8-b257-8dc2cc9a99b1',
|
|
276
|
-
roleName: 'Chair',
|
|
277
|
-
roleTypeName: 'System',
|
|
278
|
-
roleType: '11',
|
|
279
|
-
viewOrder: 1,
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
roleId: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
283
|
-
roleName: 'NESC Secretary',
|
|
284
|
-
roleTypeName: 'Officer',
|
|
285
|
-
roleType: '22',
|
|
286
|
-
viewOrder: 2,
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
roleId: 'ROLE_NESC_3a805b6b-963e-432f-96bf-7797ec7d6eb6',
|
|
290
|
-
roleName: 'Vice Chair',
|
|
291
|
-
roleTypeName: 'Member Level',
|
|
292
|
-
roleType: '33',
|
|
293
|
-
viewOrder: 3,
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
roleId: 'ROLE_NESC_0d0fde04-7bce-429b-af7e-b6ed5f9a2254',
|
|
297
|
-
roleName: 'Past Chair',
|
|
298
|
-
roleTypeName: 'Member Level',
|
|
299
|
-
roleType: '33',
|
|
300
|
-
viewOrder: 3,
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
roleId: 'ROLE_NESC_4a3b1ef9-1696-46a1-b9a5-0404e0ac7733',
|
|
304
|
-
roleName: 'Secretary',
|
|
305
|
-
roleTypeName: 'Member Level',
|
|
306
|
-
roleType: '33',
|
|
307
|
-
viewOrder: 3,
|
|
308
|
-
},
|
|
309
|
-
],
|
|
310
|
-
},
|
|
311
|
-
mockUserRoles: {
|
|
312
|
-
status: true,
|
|
313
|
-
message: 'SUCCESS',
|
|
314
|
-
body: [
|
|
315
|
-
{
|
|
316
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
317
|
-
roleName: 'Admin',
|
|
318
|
-
roleTypeName: 'System',
|
|
319
|
-
roleType: '11',
|
|
320
|
-
viewOrder: 1,
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
roleId: 'ROLE_NESC_ec0ec0cb-94a6-482e-8c84-31c3eb2a1526',
|
|
324
|
-
roleName: 'Editor',
|
|
325
|
-
roleTypeName: 'System',
|
|
326
|
-
roleType: '11',
|
|
327
|
-
viewOrder: 1,
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
roleId: 'ROLE_NESC_4a47d1e2-1c9d-4ab8-b257-8dc2cc9a99b1',
|
|
331
|
-
roleName: 'Chair',
|
|
332
|
-
roleTypeName: 'System',
|
|
333
|
-
roleType: '11',
|
|
334
|
-
viewOrder: 1,
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
roleId: 'ROLE_NESC_cf32e87f-6d03-410f-8670-62fd11da1b44',
|
|
338
|
-
roleName: 'Voting Member (Primary)',
|
|
339
|
-
roleTypeName: 'Officer',
|
|
340
|
-
roleType: '22',
|
|
341
|
-
viewOrder: 2,
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
roleId: 'ROLE_NESC_365dac5c-5558-4dad-9406-aa9063d0dbdf',
|
|
345
|
-
roleName: 'Voting Member (Alternate)',
|
|
346
|
-
roleTypeName: 'Officer',
|
|
347
|
-
roleType: '22',
|
|
348
|
-
viewOrder: 2,
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
roleId: 'ROLE_NESC_46ea2d1a-8004-485f-b0bc-9237a5ae1eb2',
|
|
352
|
-
roleName: 'Non-Voter',
|
|
353
|
-
roleTypeName: 'Officer',
|
|
354
|
-
roleType: '22',
|
|
355
|
-
viewOrder: 2,
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
roleId: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
359
|
-
roleName: 'NESC Secretary',
|
|
360
|
-
roleTypeName: 'Officer',
|
|
361
|
-
roleType: '22',
|
|
362
|
-
viewOrder: 2,
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
roleId: 'ROLE_NESC_3a805b6b-963e-432f-96bf-7797ec7d6eb6',
|
|
366
|
-
roleName: 'Vice Chair',
|
|
367
|
-
roleTypeName: 'Member Level',
|
|
368
|
-
roleType: '33',
|
|
369
|
-
viewOrder: 3,
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
roleId: 'ROLE_NESC_0d0fde04-7bce-429b-af7e-b6ed5f9a2254',
|
|
373
|
-
roleName: 'Past Chair',
|
|
374
|
-
roleTypeName: 'Member Level',
|
|
375
|
-
roleType: '33',
|
|
376
|
-
viewOrder: 3,
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
roleId: 'ROLE_NESC_4a3b1ef9-1696-46a1-b9a5-0404e0ac7733',
|
|
380
|
-
roleName: 'Secretary',
|
|
381
|
-
roleTypeName: 'Member Level',
|
|
382
|
-
roleType: '33',
|
|
383
|
-
viewOrder: 3,
|
|
384
|
-
},
|
|
385
|
-
],
|
|
386
|
-
},
|
|
387
|
-
|
|
388
|
-
getRolesMockPayload: {
|
|
389
|
-
payload: {
|
|
390
|
-
offset: 0,
|
|
391
|
-
pageSize: 10,
|
|
392
|
-
},
|
|
393
|
-
},
|
|
394
|
-
mockUserPermissionRoles: {
|
|
395
|
-
status: true,
|
|
396
|
-
message: 'SUCCESS',
|
|
397
|
-
body: {
|
|
398
|
-
totalRecords: 174,
|
|
399
|
-
rolePermissionDetails: [
|
|
400
|
-
{
|
|
401
|
-
permissionId: 'PERM_fc522748-e2d4-440c-b6c6-41aaca75a80fb',
|
|
402
|
-
permissionName: 'Create Parent Group',
|
|
403
|
-
roleList: [
|
|
404
|
-
{
|
|
405
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
406
|
-
roleName: 'Admin',
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
roleId: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
410
|
-
roleName: 'NESC Secretary',
|
|
411
|
-
},
|
|
412
|
-
],
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
permissionId: 'PERM_8f8a203e-d992-4555-9c42-ac6970f2d376',
|
|
416
|
-
permissionName: 'Create Sub Group',
|
|
417
|
-
roleList: [
|
|
418
|
-
{
|
|
419
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
420
|
-
roleName: 'Admin',
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
roleId: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
424
|
-
roleName: 'NESC Secretary',
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
roleId: 'ROLE_NESC_ec0ec0cb-94a6-482e-8c84-31c3eb2a1526',
|
|
428
|
-
roleName: 'Editor',
|
|
429
|
-
},
|
|
430
|
-
],
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
},
|
|
434
|
-
},
|
|
435
|
-
mockErrorResponse: {
|
|
436
|
-
error: 'Resource Not Found',
|
|
437
|
-
status: 2049,
|
|
438
|
-
statusText: 'Resource Not Found',
|
|
439
|
-
},
|
|
440
|
-
mockRolesErrorResponse: {
|
|
441
|
-
status: false,
|
|
442
|
-
message: 'No Role(s) found.',
|
|
443
|
-
body: { errorCodes: ['3007'] },
|
|
444
|
-
},
|
|
445
|
-
mockRosterOrGroupTypeErrorResponse: {
|
|
446
|
-
status: false,
|
|
447
|
-
message: 'Incorrect Request',
|
|
448
|
-
body: { errorCodes: ['2066'] },
|
|
449
|
-
},
|
|
450
|
-
mockRolesAndPermissionsMappingErrorResponse: {
|
|
451
|
-
status: false,
|
|
452
|
-
message: 'Unable to fetch Roles and Permissions Mapping.',
|
|
453
|
-
body: { errorCodes: ['3009'] },
|
|
454
|
-
},
|
|
455
|
-
mockFeatureResponse: {
|
|
456
|
-
status: true,
|
|
457
|
-
message: 'SUCCESS',
|
|
458
|
-
body: [
|
|
459
|
-
{
|
|
460
|
-
featureId: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
461
|
-
featureName: 'Groups & Rosters',
|
|
462
|
-
isDefault: true,
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
466
|
-
featureName: 'Meetings & Events',
|
|
467
|
-
isDefault: false,
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
featureId: 'FEATURE_a0ad3616-20dc-43da-813f-9b76d33f227a',
|
|
471
|
-
featureName: 'Ballots',
|
|
472
|
-
isDefault: false,
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
},
|
|
476
|
-
mockAppTypesResponse: {
|
|
477
|
-
status: true,
|
|
478
|
-
message: 'SUCCESS',
|
|
479
|
-
body: [
|
|
480
|
-
{
|
|
481
|
-
configFieldId: 'AT_SAAPPS_25634ef4-07d7-4d98-ba8b-ad33ed330789',
|
|
482
|
-
configFieldValue: { type: AppType.GENERIC },
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
configFieldId: 'AT_SAAPPS_ab655442-fe69-4aee-96cb-a661e6ea1e24',
|
|
486
|
-
configFieldValue: { type: AppType.STANDALONE },
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
},
|
|
490
|
-
createTenantMockPayload: {
|
|
491
|
-
payload: {
|
|
492
|
-
appId: 'SAAPPS1',
|
|
493
|
-
appTitle: 'SA Collaboration portal',
|
|
494
|
-
appLogo: 'logo.svg',
|
|
495
|
-
appHeading: 'SAAPPS Heading',
|
|
496
|
-
appDescription: 'SAAPPS Desc',
|
|
497
|
-
backgroundColor: '#000000',
|
|
498
|
-
appHelpLink: 'https://localhost:4200',
|
|
499
|
-
appType: 'AT_SAAPPS_25634ef4-07d7-4d98-ba8b-ad33ed330789',
|
|
500
|
-
appDomainUrl: 'https://localhost:4200',
|
|
501
|
-
features: [
|
|
502
|
-
{
|
|
503
|
-
featureId: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
featureId: 'FEATURE_a0ad3616-20dc-43da-813f-9b76d33f227a',
|
|
510
|
-
},
|
|
511
|
-
],
|
|
512
|
-
},
|
|
513
|
-
},
|
|
514
|
-
updateTenantStatusMockPayload: {
|
|
515
|
-
payload: {
|
|
516
|
-
appId: 'SAAPPS1',
|
|
517
|
-
status: true,
|
|
518
|
-
},
|
|
519
|
-
},
|
|
520
|
-
openUpdateTenantStatusConfirmationModalOptions: {
|
|
521
|
-
leftButtonLabel: 'Cancel',
|
|
522
|
-
rightButtonLabel: 'OK',
|
|
523
|
-
promptMessage: 'Are you sure you want to',
|
|
524
|
-
actionButtonAlign: 'Middle',
|
|
525
|
-
},
|
|
526
|
-
mockFeaturesFormattedResponse: [
|
|
527
|
-
{
|
|
528
|
-
id: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
529
|
-
name: 'Groups & Rosters',
|
|
530
|
-
checked: true,
|
|
531
|
-
disabled: true,
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
id: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
535
|
-
name: 'Meetings & Events',
|
|
536
|
-
checked: true,
|
|
537
|
-
disabled: false,
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
id: 'FEATURE_a0ad3616-20dc-43da-813f-9b76d33f227a',
|
|
541
|
-
name: 'Ballots',
|
|
542
|
-
checked: true,
|
|
543
|
-
disabled: false,
|
|
544
|
-
},
|
|
545
|
-
],
|
|
546
|
-
mockFeaturesFormattedDefaultResponse: [
|
|
547
|
-
{
|
|
548
|
-
id: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
549
|
-
name: 'Groups & Rosters',
|
|
550
|
-
checked: true,
|
|
551
|
-
disabled: true,
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
id: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
555
|
-
name: 'Meetings & Events',
|
|
556
|
-
checked: false,
|
|
557
|
-
disabled: false,
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
id: 'FEATURE_a0ad3616-20dc-43da-813f-9b76d33f227a',
|
|
561
|
-
name: 'Ballots',
|
|
562
|
-
checked: false,
|
|
563
|
-
disabled: false,
|
|
564
|
-
},
|
|
565
|
-
],
|
|
566
|
-
mockAppTypesFormattedResponse: [
|
|
567
|
-
{
|
|
568
|
-
id: 'AT_SAAPPS_25634ef4-07d7-4d98-ba8b-ad33ed330789',
|
|
569
|
-
label: 'Generic',
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
id: 'AT_SAAPPS_ab655442-fe69-4aee-96cb-a661e6ea1e24',
|
|
573
|
-
label: 'Standalone',
|
|
574
|
-
},
|
|
575
|
-
],
|
|
576
|
-
createTenantMockResponse: {
|
|
577
|
-
status: true,
|
|
578
|
-
message: 'SUCCESS',
|
|
579
|
-
body: 'Tenant created successfully',
|
|
580
|
-
},
|
|
581
|
-
updateTenantStatusMockResponse: {
|
|
582
|
-
status: true,
|
|
583
|
-
message: 'SUCCESS',
|
|
584
|
-
body: 'Tenant status updated successfully.',
|
|
585
|
-
},
|
|
586
|
-
updateTenantStatusPayloadWithoutAppId: {
|
|
587
|
-
payload: {
|
|
588
|
-
status: true,
|
|
589
|
-
appId: '',
|
|
590
|
-
},
|
|
591
|
-
},
|
|
592
|
-
mockCreateTenantPayloadMissingAppTitle: {
|
|
593
|
-
payload: {
|
|
594
|
-
appId: 'SAAPPS1',
|
|
595
|
-
appTitle: '',
|
|
596
|
-
appLogo: 'logo.svg',
|
|
597
|
-
appHeading: 'SAAPPS Heading',
|
|
598
|
-
appDescription: 'SAAPPS Desc',
|
|
599
|
-
backgroundColor: '#466',
|
|
600
|
-
appHelpLink: 'https://localhost:4200',
|
|
601
|
-
appType: 'AT_SAAPPS_25634ef4-07d7-4d98-ba8b-ad33ed330789',
|
|
602
|
-
appDomainUrl: 'http://localhost:4200',
|
|
603
|
-
features: [
|
|
604
|
-
{
|
|
605
|
-
featureId: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
609
|
-
},
|
|
610
|
-
],
|
|
611
|
-
},
|
|
612
|
-
},
|
|
613
|
-
mockPreSignedUrlResponse: {
|
|
614
|
-
status: true,
|
|
615
|
-
message: 'SUCCESS',
|
|
616
|
-
body: 'https://example.com/presigned-url',
|
|
617
|
-
},
|
|
618
|
-
mockFileUploadedResponse: {
|
|
619
|
-
status: true,
|
|
620
|
-
message: 'File uploaded successfully.',
|
|
621
|
-
body: '',
|
|
622
|
-
},
|
|
623
|
-
viewTenantErrorResponse: {
|
|
624
|
-
error: 'Test error',
|
|
625
|
-
status: 500,
|
|
626
|
-
statusText: 'Internal server error',
|
|
627
|
-
},
|
|
628
|
-
|
|
629
|
-
viewTenantDetailsMockResponse: {
|
|
630
|
-
status: true,
|
|
631
|
-
message: 'SUCCESS',
|
|
632
|
-
body: {
|
|
633
|
-
appId: 'SAAPPS',
|
|
634
|
-
appTitle: 'IEEE SA Collaboration Portal',
|
|
635
|
-
appLogo: 'logo.svg',
|
|
636
|
-
appHeading: 'IEEE SA Collaboration Portal',
|
|
637
|
-
appDescription:
|
|
638
|
-
'This portal supports the collaboration needs of IEEE SA standards development groups.',
|
|
639
|
-
backgroundColor: '#6750a4',
|
|
640
|
-
appHelpLink: 'https://standards-support.ieee.org/',
|
|
641
|
-
appDomainUrl: 'https://appsdev.ieee.org/',
|
|
642
|
-
status: true,
|
|
643
|
-
appType: 'AT_SAAPPS_25634ef4-07d7-4d98-ba8b-ad33ed330789',
|
|
644
|
-
features: [
|
|
645
|
-
{
|
|
646
|
-
featureId: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
647
|
-
featureName: 'Groups & Rosters',
|
|
648
|
-
isDefault: true,
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
652
|
-
featureName: 'Meetings & Events',
|
|
653
|
-
isDefault: true,
|
|
654
|
-
},
|
|
655
|
-
],
|
|
656
|
-
},
|
|
657
|
-
},
|
|
658
|
-
|
|
659
|
-
MockTenantAccordionInfo: [
|
|
660
|
-
{
|
|
661
|
-
id: 1,
|
|
662
|
-
title: 'Basic Details',
|
|
663
|
-
isDisabled: false,
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
id: 2,
|
|
667
|
-
title: 'Roles and Permissions',
|
|
668
|
-
isDisabled: false,
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
id: 3,
|
|
672
|
-
title: 'Group Types',
|
|
673
|
-
isDisabled: false,
|
|
674
|
-
},
|
|
675
|
-
],
|
|
676
|
-
editTenantMockPayload: {
|
|
677
|
-
payload: {
|
|
678
|
-
appId: 'SAAPPS',
|
|
679
|
-
appTitle: 'IEEE SA Collaboration Portal',
|
|
680
|
-
appLogo: 'logo.svg',
|
|
681
|
-
appHeading: 'IEEE SA Collaboration Portal',
|
|
682
|
-
appDescription:
|
|
683
|
-
'This portal supports the collaboration needs of IEEE SA standards development groups.',
|
|
684
|
-
backgroundColor: '#6750a4',
|
|
685
|
-
appHelpLink: 'https://standards-support.ieee.org/',
|
|
686
|
-
appDomainUrl: 'https://appsdev.ieee.org/',
|
|
687
|
-
appType: 'AT_SAAPPS_25634ef4-07d7-4d98-ba8b-ad33ed330789',
|
|
688
|
-
features: [
|
|
689
|
-
{
|
|
690
|
-
featureId: 'FEATURE_c000425e-b716-4593-9b3f-74280741a4ee',
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
featureId: 'FEATURE_049753e8-ea5c-4fad-adb0-e1456e69c7a5',
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
featureId: 'FEATURE_a0ad3616-20dc-43da-813f-9b76d33f227a',
|
|
697
|
-
},
|
|
698
|
-
],
|
|
699
|
-
},
|
|
700
|
-
},
|
|
701
|
-
editTenantMockResponse: {
|
|
702
|
-
status: true,
|
|
703
|
-
message: 'SUCCESS',
|
|
704
|
-
body: 'Tenant edited successfully',
|
|
705
|
-
},
|
|
706
|
-
createRoleMockPayload: {
|
|
707
|
-
payload: {
|
|
708
|
-
appId: 'NESC1',
|
|
709
|
-
roleType: 'RT_SAAPPS_bb35eeba-50b3-452f-9839-83d78c78a197',
|
|
710
|
-
roleName: 'test role',
|
|
711
|
-
},
|
|
712
|
-
},
|
|
713
|
-
mockCreateRolePayloadMissingRoleType: {
|
|
714
|
-
payload: {
|
|
715
|
-
appId: 'NESC1',
|
|
716
|
-
roleType: '',
|
|
717
|
-
roleName: 'test role',
|
|
718
|
-
},
|
|
719
|
-
},
|
|
720
|
-
mockRoleTypesFormattedResponse: [
|
|
721
|
-
{
|
|
722
|
-
id: 'RT_SAAPPS_bb35eeba-50b3-452f-9839-83d78c78a197',
|
|
723
|
-
name: 'System',
|
|
724
|
-
order: 1,
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
id: 'RT_SAAPPS_95ca1bc7-81c9-474d-a14b-25d8087a9108',
|
|
728
|
-
name: 'Officer',
|
|
729
|
-
order: 2,
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
id: 'RT_SAAPPS_8e92c4d9-43d2-4d02-b759-168e4484f85b',
|
|
733
|
-
name: 'Member Level',
|
|
734
|
-
order: 3,
|
|
735
|
-
},
|
|
736
|
-
],
|
|
737
|
-
createRoleMockResponse: {
|
|
738
|
-
status: true,
|
|
739
|
-
message: 'SUCCESS',
|
|
740
|
-
body: 'New Secretary has been successfully added to the SA Collaboration portal. You can map the permissions for the newly added role.',
|
|
741
|
-
},
|
|
742
|
-
mockRoleTypePayload: {
|
|
743
|
-
payload: {
|
|
744
|
-
appId: 'NESC',
|
|
745
|
-
configFieldName: 'role_type',
|
|
746
|
-
},
|
|
747
|
-
},
|
|
748
|
-
mockCreateRoleInfo: {
|
|
749
|
-
appId: 'NESC1',
|
|
750
|
-
roleType: 'System',
|
|
751
|
-
roleName: 'Secretary',
|
|
752
|
-
},
|
|
753
|
-
mockRoleTypesResponse: {
|
|
754
|
-
status: true,
|
|
755
|
-
message: 'SUCCESS',
|
|
756
|
-
body: [
|
|
757
|
-
{
|
|
758
|
-
appId: 'NESC',
|
|
759
|
-
configFieldName: 'role_type',
|
|
760
|
-
configFieldId: 'RT_SAAPPS_bb35eeba-50b3-452f-9839-83d78c78a197',
|
|
761
|
-
configFieldValue: {
|
|
762
|
-
roleTypeName: 'System',
|
|
763
|
-
viewOrder: 1,
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
appId: 'NESC',
|
|
768
|
-
configFieldName: 'role_type',
|
|
769
|
-
configFieldId: 'RT_SAAPPS_95ca1bc7-81c9-474d-a14b-25d8087a9108',
|
|
770
|
-
configFieldValue: {
|
|
771
|
-
roleTypeName: 'Officer',
|
|
772
|
-
viewOrder: 2,
|
|
773
|
-
},
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
appId: 'NESC',
|
|
777
|
-
configFieldName: 'role_type',
|
|
778
|
-
configFieldId: 'RT_SAAPPS_8e92c4d9-43d2-4d02-b759-168e4484f85b',
|
|
779
|
-
configFieldValue: {
|
|
780
|
-
roleTypeName: 'Member Level',
|
|
781
|
-
viewOrder: 3,
|
|
782
|
-
},
|
|
783
|
-
},
|
|
784
|
-
],
|
|
785
|
-
},
|
|
786
|
-
deleteRoleMockPayload: {
|
|
787
|
-
payload: {
|
|
788
|
-
appId: 'NESC',
|
|
789
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
790
|
-
},
|
|
791
|
-
},
|
|
792
|
-
deleteRoleMockResponse: {
|
|
793
|
-
status: true,
|
|
794
|
-
message: 'SUCCESS',
|
|
795
|
-
body: 'Role deleted successfully',
|
|
796
|
-
},
|
|
797
|
-
|
|
798
|
-
openDeleteRoleConfirmationModalOptions: {
|
|
799
|
-
leftButtonLabel: 'Cancel',
|
|
800
|
-
rightButtonLabel: 'OK',
|
|
801
|
-
promptMessage: '',
|
|
802
|
-
actionButtonAlign: 'Middle',
|
|
803
|
-
},
|
|
804
|
-
mockRoleInfo: {
|
|
805
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
806
|
-
roleName: 'Admin',
|
|
807
|
-
},
|
|
808
|
-
permissionsSuccessResponse: {
|
|
809
|
-
status: true,
|
|
810
|
-
message: 'SUCCESS',
|
|
811
|
-
body: [
|
|
812
|
-
{
|
|
813
|
-
permissionId: 'PERM_NESC_c05ff592-7178-4614-b730-7a7a8828824e',
|
|
814
|
-
permissionName: 'View Groups',
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
permissionId: 'PERM_NESC_fc522748-e2d4-440c-b6c6-41aaca75a80f',
|
|
818
|
-
permissionName: 'Create Parent Group',
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
permissionId: 'PERM_NESC_8f8a203e-d992-4555-9c42-ac6970f2d376',
|
|
822
|
-
permissionName: 'Create Subgroup',
|
|
823
|
-
},
|
|
824
|
-
],
|
|
825
|
-
},
|
|
826
|
-
permissionsFailureResponse: {
|
|
827
|
-
error: {
|
|
828
|
-
status: false,
|
|
829
|
-
message: 'No Permission(s) found.',
|
|
830
|
-
body: { errorCodes: ['3008'] },
|
|
831
|
-
},
|
|
832
|
-
status: 400,
|
|
833
|
-
statusText: 'OK',
|
|
834
|
-
},
|
|
835
|
-
getPermissionsByRoleIdSuccessResponse: {
|
|
836
|
-
status: true,
|
|
837
|
-
message: 'SUCCESS',
|
|
838
|
-
body: [
|
|
839
|
-
{
|
|
840
|
-
permissionId: 'PERM_NESC_c05ff592-7178-4614-b730-7a7a8828824e',
|
|
841
|
-
permissionName: 'View Groups',
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
permissionId: 'PERM_NESC_fc522748-e2d4-440c-b6c6-41aaca75a80f',
|
|
845
|
-
permissionName: 'Create Parent Group',
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
permissionId: 'PERM_NESC_8f8a203e-d992-4555-9c42-ac6970f2d376',
|
|
849
|
-
permissionName: 'Create Subgroup',
|
|
850
|
-
},
|
|
851
|
-
],
|
|
852
|
-
},
|
|
853
|
-
getPermissionsByRoleIdFailureResponse: {
|
|
854
|
-
error: {
|
|
855
|
-
status: false,
|
|
856
|
-
message: 'Permissions does not exist for given role Id.',
|
|
857
|
-
body: {
|
|
858
|
-
errorCodes: ['3021'],
|
|
859
|
-
},
|
|
860
|
-
},
|
|
861
|
-
ok: false,
|
|
862
|
-
status: 404,
|
|
863
|
-
name: 'HttpErrorResponse',
|
|
864
|
-
},
|
|
865
|
-
getRolesByPermissionIdSuccessResponse: {
|
|
866
|
-
status: true,
|
|
867
|
-
message: 'SUCCESS',
|
|
868
|
-
body: [
|
|
869
|
-
{
|
|
870
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
871
|
-
roleName: 'Admin',
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
roleId: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
875
|
-
roleName: 'NESC Secretary',
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
roleId: 'ROLE_NESC_3a805b6b-963e-432f-96bf-7797ec7d6eb6',
|
|
879
|
-
roleName: 'Vice Chair',
|
|
880
|
-
},
|
|
881
|
-
],
|
|
882
|
-
},
|
|
883
|
-
getRolesByPermissionIdFailureResponse: {
|
|
884
|
-
error: {
|
|
885
|
-
status: false,
|
|
886
|
-
message: 'Role does not exist for given permission id.',
|
|
887
|
-
body: {
|
|
888
|
-
errorCodes: ['3020'],
|
|
889
|
-
},
|
|
890
|
-
},
|
|
891
|
-
ok: false,
|
|
892
|
-
status: 404,
|
|
893
|
-
name: 'HttpErrorResponse',
|
|
894
|
-
},
|
|
895
|
-
getPermissionsByRoleIdAndPermissionIdSuccessResponse: {
|
|
896
|
-
status: true,
|
|
897
|
-
message: 'SUCCESS',
|
|
898
|
-
body: [
|
|
899
|
-
{
|
|
900
|
-
permissionId: 'PERM_NESC_fc522748-e2d4-440c-b6c6-41aaca75a80f',
|
|
901
|
-
permissionName: 'Create Parent Group',
|
|
902
|
-
},
|
|
903
|
-
],
|
|
904
|
-
},
|
|
905
|
-
getPermissionsByRoleIdAndPermissionIdFailureResponse: {
|
|
906
|
-
error: {
|
|
907
|
-
status: false,
|
|
908
|
-
message: 'Role Permission Mapping does not exist for given role Id',
|
|
909
|
-
body: {
|
|
910
|
-
errorCodes: ['3017'],
|
|
911
|
-
},
|
|
912
|
-
},
|
|
913
|
-
ok: false,
|
|
914
|
-
status: 404,
|
|
915
|
-
name: 'HttpErrorResponse',
|
|
916
|
-
},
|
|
917
|
-
saveRolePermissionMappingSuccessResponse: {
|
|
918
|
-
status: true,
|
|
919
|
-
body: 'Role Permission Mappings Updated Successfully',
|
|
920
|
-
message: 'SUCCESS',
|
|
921
|
-
},
|
|
922
|
-
saveRolePermissionMappingFailureResponse: {
|
|
923
|
-
error: {
|
|
924
|
-
status: false,
|
|
925
|
-
message: 'Error while saving role permission mapping.',
|
|
926
|
-
body: {
|
|
927
|
-
errorCodes: ['3009'],
|
|
928
|
-
},
|
|
929
|
-
},
|
|
930
|
-
ok: false,
|
|
931
|
-
status: 404,
|
|
932
|
-
name: 'HttpErrorResponse'
|
|
933
|
-
},
|
|
934
|
-
editRoleMockPayload: {
|
|
935
|
-
payload: {
|
|
936
|
-
appId: 'NESC1',
|
|
937
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
938
|
-
roleName: 'test role',
|
|
939
|
-
},
|
|
940
|
-
},
|
|
941
|
-
mockEditRolePayloadMissingRoleName: {
|
|
942
|
-
payload: {
|
|
943
|
-
appId: 'NESC1',
|
|
944
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
945
|
-
roleName: '',
|
|
946
|
-
},
|
|
947
|
-
},
|
|
948
|
-
editRoleMockResponse: {
|
|
949
|
-
status: true,
|
|
950
|
-
message: 'SUCCESS',
|
|
951
|
-
body: 'Secretary has been successfully edited for the SA Collaboration portal.',
|
|
952
|
-
},
|
|
953
|
-
mockGroupTypeResponse: {
|
|
954
|
-
status: true,
|
|
955
|
-
message: 'SUCCESS',
|
|
956
|
-
body: [
|
|
957
|
-
{
|
|
958
|
-
configFieldId: 'GT_NESC_ae99d4a7-4e31-4a6f-b30a-8102121f8833',
|
|
959
|
-
configFieldValue: {
|
|
960
|
-
name: 'Admin',
|
|
961
|
-
hierarchy: 0,
|
|
962
|
-
description:
|
|
963
|
-
'Lorem ipsum dolor sit amet, eos probo brute nostro at, in senserit definitiones per. An mei conceptam delicatissimi',
|
|
964
|
-
businessRule: {
|
|
965
|
-
allowSubGroup: false,
|
|
966
|
-
allowRoster: true,
|
|
967
|
-
rosterType: 'Individual',
|
|
968
|
-
allowAlternateVoting: false,
|
|
969
|
-
manageRosterInApp: true,
|
|
970
|
-
allowedGroupType: [],
|
|
971
|
-
isAdmin: true,
|
|
972
|
-
},
|
|
973
|
-
},
|
|
974
|
-
roles: [
|
|
975
|
-
{
|
|
976
|
-
roleId: 'ROLE_NESC_edaf1dcc-229f-4d4c-9635-7ac732b4dfd8',
|
|
977
|
-
roleName: 'Admin',
|
|
978
|
-
roleType: 'RT_NESC_e773c19a-b5d9-41f2-84a4-16eac5a1af6b',
|
|
979
|
-
roleTypeName: 'System',
|
|
980
|
-
viewOrder: 1,
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
roleId: 'ROLE_NESC_ec0ec0cb-94a6-482e-8c84-31c3eb2a1526',
|
|
984
|
-
roleName: 'Editor',
|
|
985
|
-
roleType: 'RT_NESC_e773c19a-b5d9-41f2-84a4-16eac5a1af6b',
|
|
986
|
-
roleTypeName: 'System',
|
|
987
|
-
viewOrder: 1,
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
roleId: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
991
|
-
roleName: 'NESC Secretary',
|
|
992
|
-
roleType: 'RT_NESC_e773c19a-b5d9-41f2-84a4-16eac5a1af6b',
|
|
993
|
-
roleTypeName: 'System',
|
|
994
|
-
viewOrder: 1,
|
|
995
|
-
},
|
|
996
|
-
],
|
|
997
|
-
hasGroup: true,
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
configFieldId: 'GT_NESC_3aada847-9e80-4060-a46d-27f3d4a015c1',
|
|
1001
|
-
configFieldValue: {
|
|
1002
|
-
name: 'Main Committee',
|
|
1003
|
-
hierarchy: 0,
|
|
1004
|
-
description: 'Main Committee',
|
|
1005
|
-
businessRule: {
|
|
1006
|
-
allowSubGroup: true,
|
|
1007
|
-
allowRoster: true,
|
|
1008
|
-
rosterType: 'Individual',
|
|
1009
|
-
allowAlternateVoting: false,
|
|
1010
|
-
manageRosterInApp: true,
|
|
1011
|
-
allowedGroupType: [
|
|
1012
|
-
'GT_NESC_e88d7458-f805-49ad-af28-6ac645ac5a92',
|
|
1013
|
-
'GT_NESC_6645f6e6-a033-4fa4-9b30-724a7e6a6971',
|
|
1014
|
-
'GT_NESC_27242ca1-0fd8-4470-9a54-67f5445884c1',
|
|
1015
|
-
],
|
|
1016
|
-
hasClassification: true,
|
|
1017
|
-
},
|
|
1018
|
-
},
|
|
1019
|
-
roles: [
|
|
1020
|
-
{
|
|
1021
|
-
roleId: 'ROLE_NESC_4a47d1e2-1c9d-4ab8-b257-8dc2cc9a99b1',
|
|
1022
|
-
roleName: 'Chair',
|
|
1023
|
-
roleType: 'RT_NESC_144e3168-b453-413e-8536-171962b1bac7',
|
|
1024
|
-
roleTypeName: 'Member Level',
|
|
1025
|
-
viewOrder: 3,
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
roleId: 'ROLE_NESC_3a805b6b-963e-432f-96bf-7797ec7d6eb6',
|
|
1029
|
-
roleName: 'Vice Chair',
|
|
1030
|
-
roleType: 'RT_NESC_144e3168-b453-413e-8536-171962b1bac7',
|
|
1031
|
-
roleTypeName: 'Member Level',
|
|
1032
|
-
viewOrder: 3,
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
roleId: 'ROLE_NESC_0d0fde04-7bce-429b-af7e-b6ed5f9a2254',
|
|
1036
|
-
roleName: 'Past Chair',
|
|
1037
|
-
roleType: 'RT_NESC_144e3168-b453-413e-8536-171962b1bac7',
|
|
1038
|
-
roleTypeName: 'Member Level',
|
|
1039
|
-
viewOrder: 3,
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
roleId: 'ROLE_NESC_4a3b1ef9-1696-46a1-b9a5-0404e0ac7733',
|
|
1043
|
-
roleName: 'Secretary',
|
|
1044
|
-
roleType: 'RT_NESC_144e3168-b453-413e-8536-171962b1bac7',
|
|
1045
|
-
roleTypeName: 'Member Level',
|
|
1046
|
-
viewOrder: 3,
|
|
1047
|
-
},
|
|
1048
|
-
],
|
|
1049
|
-
hasGroup: false,
|
|
1050
|
-
},
|
|
1051
|
-
],
|
|
1052
|
-
},
|
|
1053
|
-
mockIsRootGroupOptions: [
|
|
1054
|
-
{ id: 1, label: 'Yes', checked: false },
|
|
1055
|
-
{ id: 2, label: 'No', checked: true },
|
|
1056
|
-
],
|
|
1057
|
-
mockRosterTypeOptions: [
|
|
1058
|
-
{ id: 1, label: 'Individual', checked: true },
|
|
1059
|
-
{ id: 2, label: 'Entity', checked: false },
|
|
1060
|
-
],
|
|
1061
|
-
mockSettingOptions: [
|
|
1062
|
-
{ id: 1, name: 'Allow Sub-Groups', checked: false, disabled: false },
|
|
1063
|
-
{ id: 2, name: 'Enable Rosters', checked: false, disabled: false },
|
|
1064
|
-
{ id: 3, name: 'Allow Alternate Voting', checked: false, disabled: false },
|
|
1065
|
-
{ id: 4, name: 'Has Classification', checked: false, disabled: false },
|
|
1066
|
-
{ id: 5, name: 'Allow Edit', checked: false, disabled: false },
|
|
1067
|
-
{
|
|
1068
|
-
id: 6,
|
|
1069
|
-
name: 'Allow Delete',
|
|
1070
|
-
checked: false,
|
|
1071
|
-
disabled: false,
|
|
1072
|
-
},
|
|
1073
|
-
],
|
|
1074
|
-
mockOfficerRoles: [
|
|
1075
|
-
{
|
|
1076
|
-
id: 'ROLE_NESC_cf32e87f-6d03-410f-8670-62fd11da1b44',
|
|
1077
|
-
name: 'Chair',
|
|
1078
|
-
checked: false,
|
|
1079
|
-
disabled: false,
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
id: 'ROLE_NESC_365dac5c-5558-4dad-9406-aa9063d0dbdf',
|
|
1083
|
-
name: 'Past Chair',
|
|
1084
|
-
checked: false,
|
|
1085
|
-
disabled: false,
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
id: 'ROLE_NESC_46ea2d1a-8004-485f-b0bc-9237a5ae1eb2',
|
|
1089
|
-
name: 'Vice Chair',
|
|
1090
|
-
checked: false,
|
|
1091
|
-
disabled: false,
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
id: 'ROLE_NESC_68041ee9-3035-4136-9091-db42700a6204',
|
|
1095
|
-
name: 'Secretory',
|
|
1096
|
-
checked: false,
|
|
1097
|
-
disabled: false,
|
|
1098
|
-
},
|
|
1099
|
-
],
|
|
1100
|
-
mockCreateGroupTypeSuccessResponse: {
|
|
1101
|
-
status: true,
|
|
1102
|
-
body: 'Group type created successfully',
|
|
1103
|
-
message: 'SUCCESS',
|
|
1104
|
-
},
|
|
1105
|
-
mockCreateGroupTypeFailureResponse: {
|
|
1106
|
-
error: {
|
|
1107
|
-
status: false,
|
|
1108
|
-
message: 'Error while creating group type.',
|
|
1109
|
-
body: {
|
|
1110
|
-
errorCodes: ['2067'],
|
|
1111
|
-
},
|
|
1112
|
-
},
|
|
1113
|
-
ok: false,
|
|
1114
|
-
status: 404,
|
|
1115
|
-
name: 'HttpErrorResponse',
|
|
1116
|
-
},
|
|
1117
|
-
mockMemberLevel: [
|
|
1118
|
-
{
|
|
1119
|
-
id: 'ROLE_NESC_0d0fde04-7bce-429b-af7e-b6ed5f9a2254',
|
|
1120
|
-
name: 'Voting Member (Principal)',
|
|
1121
|
-
checked: false,
|
|
1122
|
-
disabled: true,
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
id: 'ROLE_NESC_4a3b1ef9-1696-46a1-b9a5-0404e0ac77334',
|
|
1126
|
-
name: 'Voting Member (Alternate)',
|
|
1127
|
-
checked: false,
|
|
1128
|
-
disabled: true,
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
id: 'ROLE_NESC_3a805b6b-963e-432f-96bf-7797ec7d6eb6',
|
|
1132
|
-
name: 'Member',
|
|
1133
|
-
checked: false,
|
|
1134
|
-
disabled: false,
|
|
1135
|
-
},
|
|
1136
|
-
],
|
|
1137
|
-
mockAllowedSubGroupTypes: [
|
|
1138
|
-
{ id: 1, name: 'Sub Group Type 1', checked: false, disabled: false },
|
|
1139
|
-
{ id: 1, name: 'Sub Group Type 2', checked: false, disabled: false },
|
|
1140
|
-
],
|
|
1141
|
-
mockRosterTypeResponse: {
|
|
1142
|
-
status: true,
|
|
1143
|
-
message: 'SUCCESS',
|
|
1144
|
-
body: [
|
|
1145
|
-
{
|
|
1146
|
-
lovId: 1,
|
|
1147
|
-
lovDesc: 'Individual',
|
|
1148
|
-
lovCode: 'IND',
|
|
1149
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe356907',
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
lovId: 2,
|
|
1153
|
-
lovDesc: 'Entity',
|
|
1154
|
-
lovCode: 'EN',
|
|
1155
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe356907',
|
|
1156
|
-
},
|
|
1157
|
-
],
|
|
1158
|
-
},
|
|
1159
|
-
mockRosterType: [
|
|
1160
|
-
{ id: 1, label: 'Individual', checked: true },
|
|
1161
|
-
{ id: 2, label: 'Entity', checked: false },
|
|
1162
|
-
],
|
|
1163
|
-
mockGroupTypeSettingResponse: {
|
|
1164
|
-
status: true,
|
|
1165
|
-
message: 'SUCCESS',
|
|
1166
|
-
body: [
|
|
1167
|
-
{
|
|
1168
|
-
lovId: 1,
|
|
1169
|
-
lovDesc: 'Allow Sub-Groups',
|
|
1170
|
-
lovCode: 'ASG',
|
|
1171
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe35690h',
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
lovId: 2,
|
|
1175
|
-
lovDesc: 'Enable Rosters',
|
|
1176
|
-
lovCode: 'ER',
|
|
1177
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe35690h',
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
lovId: 3,
|
|
1181
|
-
lovDesc: 'Allow Alternate Voting',
|
|
1182
|
-
lovCode: 'AAV',
|
|
1183
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe35690h',
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
lovId: 4,
|
|
1187
|
-
lovDesc: 'Has Classification',
|
|
1188
|
-
lovCode: 'HS',
|
|
1189
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe35690h',
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
lovId: 5,
|
|
1193
|
-
lovDesc: 'Allow Edit',
|
|
1194
|
-
lovCode: 'AE',
|
|
1195
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe35690h',
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
lovId: 6,
|
|
1199
|
-
lovDesc: 'Allow Delete',
|
|
1200
|
-
lovCode: 'AD',
|
|
1201
|
-
lovTypeCode: 'LOVT_463c5531-0a46-4e21-9336-a3aefe35690h',
|
|
1202
|
-
},
|
|
1203
|
-
],
|
|
1204
|
-
},
|
|
1205
|
-
mockCreateGroupTypePayload: {
|
|
1206
|
-
payload: {
|
|
1207
|
-
appId: 'NESC',
|
|
1208
|
-
roles: [
|
|
1209
|
-
{ roleId: 'ROLE_NESC_46ea2d1a-8004-485f-b0bc-9237a5ae1eb2' },
|
|
1210
|
-
{ roleId: 'ROLE_NESC_4a47d1e2-1c9d-4ab8-b257-8dc2cc9a99b1' },
|
|
1211
|
-
],
|
|
1212
|
-
configFieldName: 'group_type',
|
|
1213
|
-
configFieldValue:
|
|
1214
|
-
'{"name":"IEEE","description":"IEEE","businessRule":{"rosterType":"individual","allowEdit":false,"allowRoster":true,"allowAlternateVoting":false,"allowDelete":false,"allowSubGroup":false,"hasClassification":false,"allowedGroupType":[],"isRootGroup":false}}',
|
|
1215
|
-
},
|
|
1216
|
-
},
|
|
1217
|
-
mockCreateGroupType: {
|
|
1218
|
-
appId: 'NESC',
|
|
1219
|
-
roles: [
|
|
1220
|
-
{ roleId: 'ROLE_NESC_46ea2d1a-8004-485f-b0bc-9237a5ae1eb2' },
|
|
1221
|
-
{ roleId: 'ROLE_NESC_4a47d1e2-1c9d-4ab8-b257-8dc2cc9a99b1' },
|
|
1222
|
-
],
|
|
1223
|
-
configFieldName: 'group_type',
|
|
1224
|
-
configFieldValue: {
|
|
1225
|
-
name: 'IEEE',
|
|
1226
|
-
description: 'IEEE',
|
|
1227
|
-
businessRule: {
|
|
1228
|
-
rosterType: 'individual',
|
|
1229
|
-
allowEdit: false,
|
|
1230
|
-
allowRoster: true,
|
|
1231
|
-
allowAlternateVoting: false,
|
|
1232
|
-
allowDelete: false,
|
|
1233
|
-
allowSubGroup: false,
|
|
1234
|
-
hasClassification: false,
|
|
1235
|
-
allowedGroupType: [],
|
|
1236
|
-
isRootGroup: false,
|
|
1237
|
-
},
|
|
1238
|
-
},
|
|
1239
|
-
},
|
|
1240
|
-
};
|