Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15457 | Rev 15461 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
779 geraldo 2
 
1 www 3
use LeadersLinked\Model\UserType;
4
 
779 geraldo 5
function getAclResources() {
1 www 6
    return [
7
        'home',
8
        'signin-admin',
9
        'signin-company',
10
        'dashboard',
11
        'signout',
12
        'storage',
15336 efrain 13
        'storage-network',
1 www 14
        'settings',
15460 efrain 15
        'settings/countries',
16
        'settings/countries/add',
17
        'settings/countries/edit',
18
        'settings/countries/delete',
19
 
1 www 20
        'settings/company-sizes',
21
        'settings/company-sizes/add',
22
        'settings/company-sizes/edit',
23
        'settings/company-sizes/delete',
15442 efrain 24
 
25
        'jobs-description/competency-types',
26
        'jobs-description/competency-types/add',
27
        'jobs-description/competency-types/edit',
28
        'jobs-description/competency-types/delete',
29
        'jobs-description/competency-types/import',
30
 
31
        'jobs-description/behaviors',
32
        'jobs-description/behaviors/add',
33
        'jobs-description/behaviors/edit',
34
        'jobs-description/behaviors/delete',
35
        'jobs-description/behaviors/import',
36
 
37
        'jobs-description/competencies',
38
        'jobs-description/competencies/add',
39
        'jobs-description/competencies/edit',
40
        'jobs-description/competencies/delete',
41
        'jobs-description/competencies/import',
42
 
1 www 43
        'settings/degrees',
44
        'settings/degrees/add',
45
        'settings/degrees/edit',
46
        'settings/degrees/delete',
15442 efrain 47
 
1 www 48
        'settings/email-templates',
49
        'settings/email-templates/edit',
15442 efrain 50
 
1 www 51
        'settings/push-templates',
52
        'settings/push-templates/edit',
15336 efrain 53
        'settings/push-templates/import',
15442 efrain 54
 
1 www 55
        'settings/group-types',
56
        'settings/group-types/add',
57
        'settings/group-types/edit',
58
        'settings/group-types/delete',
15442 efrain 59
 
1 www 60
        'settings/industries',
61
        'settings/industries/add',
62
        'settings/industries/edit',
63
        'settings/industries/delete',
15442 efrain 64
 
1 www 65
        'settings/job-categories',
66
        'settings/job-categories/add',
67
        'settings/job-categories/edit',
68
        'settings/job-categories/delete',
15442 efrain 69
 
70
        'jobs-description',
71
        'jobs-description/add',
72
        'jobs-description/edit',
73
        'jobs-description/delete',
74
        'jobs-description/report',
75
        'jobs-description/import',
76
 
77
        'jobs-description/positions',
78
        'jobs-description/positions/add',
79
        'jobs-description/positions/edit',
80
        'jobs-description/positions/delete',
81
        'jobs-description/positions/subordinates',
82
 
1 www 83
        'settings/skills',
84
        'settings/skills/add',
85
        'settings/skills/edit',
86
        'settings/skills/delete',
15336 efrain 87
 
88
        'settings/aptitudes',
89
        'settings/aptitudes/add',
90
        'settings/aptitudes/edit',
91
        'settings/aptitudes/delete',
92
 
93
        'settings/hobbies-and-interests',
94
        'settings/hobbies-and-interests/add',
95
        'settings/hobbies-and-interests/edit',
96
        'settings/hobbies-and-interests/delete',
97
 
98
        'settings/private-networks',
99
        'settings/private-networks/add',
100
        'settings/private-networks/edit',
101
        'settings/private-networks/delete',
102
 
103
        'settings/my-private-network',
104
        'settings/my-private-network/intro',
105
        'settings/my-private-network/navbar',
106
        'settings/my-private-network/favicon',
107
        'settings/my-private-network/logo',
108
        'settings/my-private-network/styles-and-colors',
15394 efrain 109
        'settings/my-private-network/calendar',
15336 efrain 110
 
1 www 111
        'publications',
112
        'publications/posts',
113
        'publications/posts/add',
114
        'publications/posts/edit',
115
        'publications/posts/delete',
116
        'publications/pages',
117
        'publications/pages/add',
118
        'publications/pages/edit',
119
        'publications/pages/delete',
120
        'users',
121
        'users/change-password',
122
        'users/unblock',
123
        'users/invite',
124
        'users/accept',
125
        'users/cancel',
126
        'users/reject',
127
        'users/edit',
128
        'users/upload',
129 efrain 129
        'users/email-verify',
15457 efrain 130
        'users/request-access',
131
        'users/request-access/approve',
132
        'users/request-access/reject',
15387 efrain 133
 
1 www 134
        'companies',
135
        'companies/edit',
136
        'companies/services',
137
        'companies/roles',
138
        //Company
139
        'profile',
140
        'profile/extended',
141
        'profile/cover',
142
        'profile/image',
779 geraldo 143
        'profile/header',
144
        'profile/footer',
1 www 145
        'profile/website',
146
        'profile/foundation_year',
147
        'profile/location',
148
        'profile/social-network',
149
        'profile/company-size',
150
        'profile/industry',
151
        'profile/delete',
13065 nelberth 152
 
1 www 153
        'feeds',
154
        'feeds/timeline',
10123 nelberth 155
        'feeds/onefeed',
1 www 156
        'feeds/delete',
157
        'feeds/comments',
158
        'feeds/comments/delete',
8395 nelberth 159
        'feeds/comments/answer',
15364 efrain 160
        'feeds/add',
8395 nelberth 161
 
15364 efrain 162
 
1 www 163
        'followers',
164
        'followers/delete',
114 efrain 165
        'self-evaluation',
166
        'self-evaluation/forms',
167
        'self-evaluation/forms/add',
168
        'self-evaluation/forms/edit',
169
        'self-evaluation/forms/delete',
115 efrain 170
        'self-evaluation/users',
171
        'self-evaluation/users/add',
172
        'self-evaluation/users/delete',
114 efrain 173
        'self-evaluation/reviews',
115 efrain 174
        'self-evaluation/reviews/edit',
470 geraldo 175
        'self-evaluation/reviews/report',
15442 efrain 176
 
946 geraldo 177
        'performance-evaluation',
178
        'performance-evaluation/forms',
179
        'performance-evaluation/forms/add',
180
        'performance-evaluation/forms/edit',
181
        'performance-evaluation/forms/delete',
15442 efrain 182
        'performance-evaluation/forms/job-description',
183
        'performance-evaluation/forms/active',
184
        'performance-evaluation/forms/inactive',
1263 geraldo 185
        'performance-evaluation/forms/report',
1477 efrain 186
 
15442 efrain 187
 
188
        'performance-evaluation/evaluations',
189
        'performance-evaluation/evaluations/add',
190
        'performance-evaluation/evaluations/delete',
191
        'performance-evaluation/evaluations/report',
192
 
193
 
1477 efrain 194
        'recruitment-and-selection',
195
        'recruitment-and-selection/vacancies',
196
        'recruitment-and-selection/vacancies/add',
197
        'recruitment-and-selection/vacancies/edit',
198
        'recruitment-and-selection/vacancies/delete',
199
        'recruitment-and-selection/candidates',
200
        'recruitment-and-selection/candidates/add',
201
        'recruitment-and-selection/candidates/edit',
202
        'recruitment-and-selection/candidates/delete',
1636 eleazar 203
        'recruitment-and-selection/user-by-email',
1710 eleazar 204
        'recruitment-and-selection/interview',
1709 eleazar 205
        'recruitment-and-selection/interview/form',
8757 eleazar 206
        'recruitment-and-selection/interview/form/file',
1709 eleazar 207
        'recruitment-and-selection/interview/form/add',
208
        'recruitment-and-selection/interview/form/edit',
209
        'recruitment-and-selection/interview/form/delete',
210
        'recruitment-and-selection/interview/report',
3587 eleazar 211
        'recruitment-and-selection/interview/vacancy',
4367 eleazar 212
        'recruitment-and-selection/interview/type',
8782 eleazar 213
        'recruitment-and-selection/interview/file',
214
        'recruitment-and-selection/interview/file/add',
215
        'recruitment-and-selection/interview/file/edit',
216
        'recruitment-and-selection/interview/file/delete',
15088 efrain 217
 
4375 eleazar 218
        'survey',
4579 eleazar 219
        'survey/add',
220
        'survey/edit',
221
        'survey/delete',
4375 eleazar 222
        'survey/form',
223
        'survey/form/add',
224
        'survey/form/edit',
225
        'survey/form/delete',
5287 eleazar 226
        'survey/test',
227
        'survey/test/add',
6662 eleazar 228
        'survey/test/report',
5287 eleazar 229
        'survey/test/delete',
5823 eleazar 230
        'survey/report',
6497 eleazar 231
        'survey/report/overview',
5823 eleazar 232
        'survey/report/all',
15149 efrain 233
        'survey/report/excel',
15088 efrain 234
 
7218 eleazar 235
        'organizational-climate',
236
        'organizational-climate/add',
237
        'organizational-climate/edit',
238
        'organizational-climate/delete',
239
        'organizational-climate/form',
240
        'organizational-climate/form/add',
241
        'organizational-climate/form/edit',
242
        'organizational-climate/form/delete',
243
        'organizational-climate/test',
244
        'organizational-climate/test/add',
245
        'organizational-climate/test/report',
246
        'organizational-climate/test/delete',
247
        'organizational-climate/report',
248
        'organizational-climate/report/overview',
249
        'organizational-climate/report/all',
15149 efrain 250
        'organizational-climate/report/excel',
15088 efrain 251
 
1 www 252
        'jobs',
253
        'jobs/add',
254
        'jobs/delete',
255
        'jobs/users-who-applied',
256
        'jobs/edit',
257
        'jobs/edit/title',
258
        'jobs/edit/status',
259
        'jobs/edit/last-date-of-application',
260
        'jobs/edit/employment-type',
261
        'jobs/edit/experience',
262
        'jobs/edit/job-category',
263
        'jobs/edit/extended',
264
        'jobs/edit/location',
265
        'jobs/edit/salary',
266
        'jobs/edit/languages',
267
        'jobs/edit/degrees',
268
        'jobs/edit/skills',
269
        'jobs/edit/how-apply',
15088 efrain 270
 
1 www 271
        'microlearning',
272
        'microlearning/overview',
273
        'microlearning/reports',
2 efrain 274
        'microlearning/reports/progress',
14610 efrain 275
        'microlearning/reports/progress-for-capsule',
15386 efrain 276
        'microlearning/reports/progress-for-capsule/excel',
277
        'microlearning/reports/progress-for-topic',
278
        'microlearning/reports/progress-for-topic/excel',
279
        'microlearning/reports/progress-for-student',
280
        'microlearning/reports/progress-for-student/excel',
15390 efrain 281
        'microlearning/reports/devices-and-access',
282
        'microlearning/reports/devices-and-access/excel',
187 efrain 283
        'microlearning/reports/comments-for-capsule',
15390 efrain 284
        'microlearning/reports/comments-for-capsule/excel',
1 www 285
        'microlearning/content',
286
        'microlearning/content/topics',
287
        'microlearning/content/topics/add',
288
        'microlearning/content/topics/edit',
289
        'microlearning/content/topics/delete',
290
        'microlearning/content/capsules',
291
        'microlearning/content/capsules/add',
292
        'microlearning/content/capsules/edit',
293
        'microlearning/content/capsules/delete',
294
        'microlearning/content/capsules/users',
295
        'microlearning/content/slides',
296
        'microlearning/content/slides/add',
297
        'microlearning/content/slides/edit',
298
        'microlearning/content/slides/delete',
299
        'microlearning/content/slides/text',
66 efrain 300
        'microlearning/content/quizzes',
301
        'microlearning/content/quizzes/add',
302
        'microlearning/content/quizzes/edit',
303
        'microlearning/content/quizzes/delete',
304
        'microlearning/content/quizzes/check',
305
        'microlearning/content/quizzes/publish',
306
        'microlearning/content/quizzes/copy',
307
        'microlearning/content/quizzes/questions',
308
        'microlearning/content/quizzes/questions/add',
309
        'microlearning/content/quizzes/questions/edit',
310
        'microlearning/content/quizzes/questions/delete',
311
        'microlearning/content/quizzes/questions/answers',
312
        'microlearning/content/quizzes/questions/answers/add',
313
        'microlearning/content/quizzes/questions/answers/edit',
314
        'microlearning/content/quizzes/questions/answers/delete',
1 www 315
        'microlearning/access-for-students',
316
        'microlearning/access-for-students/revoke',
317
        'microlearning/access-for-students/unlimit',
318
        'microlearning/access-for-students/cancel',
319
        'microlearning/access-for-students/reactive',
320
        'microlearning/access-for-students/upload',
321
        'microlearning/access-for-students/notification',
322
        'microlearning/students',
323
        'microlearning/students/edit',
324
        'microlearning/students/timeline',
325
        'microlearning/students/change-password',
326
        'microlearning/students/unblock',
327
        'microlearning/settings',
328
        'microlearning/settings/student-types',
329
        'microlearning/settings/student-types/add',
330
        'microlearning/settings/student-types/edit',
331
        'microlearning/settings/student-types/delete',
332
        'microlearning/settings/functions',
333
        'microlearning/settings/functions/add',
334
        'microlearning/settings/functions/edit',
335
        'microlearning/settings/functions/delete',
336
        'microlearning/settings/sectors',
337
        'microlearning/settings/sectors/add',
338
        'microlearning/settings/sectors/edit',
339
        'microlearning/settings/sectors/delete',
340
        'microlearning/settings/programs',
341
        'microlearning/settings/programs/add',
342
        'microlearning/settings/programs/edit',
343
        'microlearning/settings/programs/delete',
344
        'microlearning/settings/groups',
345
        'microlearning/settings/groups/add',
346
        'microlearning/settings/groups/edit',
347
        'microlearning/settings/groups/delete',
348
        'microlearning/settings/companies',
349
        'microlearning/settings/companies/add',
350
        'microlearning/settings/companies/edit',
351
        'microlearning/settings/companies/delete',
352
        'microlearning/settings/partners',
353
        'microlearning/settings/partners/add',
354
        'microlearning/settings/partners/edit',
355
        'microlearning/settings/partners/delete',
356
        'microlearning/settings/institutions',
357
        'microlearning/settings/institutions/add',
358
        'microlearning/settings/institutions/edit',
359
        'microlearning/settings/institutions/delete',
15394 efrain 360
        'microlearning/settings/countries',
361
        'microlearning/settings/countries/add',
362
        'microlearning/settings/countries/edit',
363
        'microlearning/settings/countries/delete',
15088 efrain 364
 
1333 efrain 365
        'own-professional-network',
366
        'organizational-design',
15386 efrain 367
 
1333 efrain 368
        'planning-objectives-and-goals',
2228 nelberth 369
        'planning-objectives-and-goals/objectives',
3462 nelberth 370
        'planning-objectives-and-goals/objectives/report',
3988 nelberth 371
        'planning-objectives-and-goals/objectives/reportall',
4041 nelberth 372
        'planning-objectives-and-goals/objectives/matriz',
2331 nelberth 373
        'planning-objectives-and-goals/objectives/goals',
2379 nelberth 374
        'planning-objectives-and-goals/objectives/goals/add',
375
        'planning-objectives-and-goals/objectives/goals/edit',
376
        'planning-objectives-and-goals/objectives/goals/delete',
2517 nelberth 377
        'planning-objectives-and-goals/objectives/goals/task',
378
        'planning-objectives-and-goals/objectives/goals/task/add',
379
        'planning-objectives-and-goals/objectives/goals/task/edit',
380
        'planning-objectives-and-goals/objectives/goals/task/delete',
2822 nelberth 381
        'planning-objectives-and-goals/objectives/goals/task/view',
2228 nelberth 382
        'planning-objectives-and-goals/objectives/add',
383
        'planning-objectives-and-goals/objectives/delete',
384
        'planning-objectives-and-goals/objectives/edit',
4589 nelberth 385
 
4535 nelberth 386
        'high-performance-teams',
7222 nelberth 387
        'high-performance-teams/groups',
7228 nelberth 388
        'high-performance-teams/groups/add',
389
        'high-performance-teams/groups/edit',
390
        'high-performance-teams/groups/delete',
7233 nelberth 391
        'high-performance-teams/groups/view',
11902 nelberth 392
        'high-performance-teams/groups/view/feeds',
393
        'high-performance-teams/groups/view/feeds/timeline',
394
        'high-performance-teams/groups/view/feeds/onefeed',
395
        'high-performance-teams/groups/view/feeds/delete',
396
        'high-performance-teams/groups/view/feeds/comments',
397
        'high-performance-teams/groups/view/feeds/comments/delete',
398
        'high-performance-teams/groups/view/feeds/comments/answer',
399
        'high-performance-teams/groups/view/feeds/add',
7484 nelberth 400
        'high-performance-teams/groups/view/topic',
401
        'high-performance-teams/groups/view/topic/add',
402
        'high-performance-teams/groups/view/topic/edit',
403
        'high-performance-teams/groups/view/topic/delete',
7637 nelberth 404
        'high-performance-teams/groups/view/topic/view',
8687 nelberth 405
        'high-performance-teams/groups/view/urgent',
9096 nelberth 406
        'high-performance-teams/groups/view/calendar',
9923 nelberth 407
        'high-performance-teams/groups/view/calendar/view',
10143 nelberth 408
        'high-performance-teams/groups/view/foro',
409
        'high-performance-teams/groups/view/foro/view',
9619 nelberth 410
        'high-performance-teams/groups/view/foro/categories',
9635 nelberth 411
        'high-performance-teams/groups/view/foro/categories/add',
412
        'high-performance-teams/groups/view/foro/categories/delete',
413
        'high-performance-teams/groups/view/foro/categories/edit',
414
        'high-performance-teams/groups/view/foro/categories/view',
9760 nelberth 415
        'high-performance-teams/groups/view/foro/categories/articles',
9845 nelberth 416
        'high-performance-teams/groups/view/foro/categories/articles/add',
417
        'high-performance-teams/groups/view/foro/categories/articles/edit',
418
        'high-performance-teams/groups/view/foro/categories/articles/delete',
419
        'high-performance-teams/groups/view/foro/categories/articles/view',
12407 nelberth 420
        'high-performance-teams/groups/view/objectives',
421
        'high-performance-teams/groups/view/objectives/report',
422
        'high-performance-teams/groups/view/objectives/reportall',
423
        'high-performance-teams/groups/view/objectives/matriz',
424
        'high-performance-teams/groups/view/objectives/goals',
425
        'high-performance-teams/groups/view/objectives/goals/add',
426
        'high-performance-teams/groups/view/objectives/goals/edit',
427
        'high-performance-teams/groups/view/objectives/goals/delete',
428
        'high-performance-teams/groups/view/objectives/goals/task',
429
        'high-performance-teams/groups/view/objectives/goals/task/add',
430
        'high-performance-teams/groups/view/objectives/goals/task/edit',
431
        'high-performance-teams/groups/view/objectives/goals/task/delete',
432
        'high-performance-teams/groups/view/objectives/goals/task/view',
433
        'high-performance-teams/groups/view/objectives/add',
434
        'high-performance-teams/groups/view/objectives/delete',
435
        'high-performance-teams/groups/view/objectives/edit',
9424 nelberth 436
 
8633 nelberth 437
 
11342 nelberth 438
 
7812 nelberth 439
        'high-performance-teams/groups/view/members',
8012 nelberth 440
        'high-performance-teams/groups/view/members/invite',
7813 nelberth 441
        'high-performance-teams/groups/view/members/delete',
10289 nelberth 442
        'high-performance-teams/groups/view/members/edit',
11430 nelberth 443
 
11342 nelberth 444
        'chat',
445
        'chat/heart-beat',
446
        'chat/create-group',
447
        'chat/add-user-to-group',
448
        'chat/mark-seen',
449
        'chat/mark-received',
450
        'chat/remove-user-from-group',
451
        'chat/get-all-messages',
452
        'chat/send',
453
        'chat/get-contacts-availables-for-group',
454
        'chat/get-contact-group-list',
455
        'chat/leave-group',
456
        'chat/delete-group',
457
        'chat/close',
458
        'chat/clear',
14692 efrain 459
        'chat/open',
11342 nelberth 460
        'chat/upload',
11430 nelberth 461
        'csrf',
7481 nelberth 462
 
7255 nelberth 463
 
4588 nelberth 464
 
465
 
1333 efrain 466
        'development-and-training',
13353 eleazar 467
 
468
        'development-and-content',
15028 efrain 469
        'development-and-content/listing',
13353 eleazar 470
        'development-and-content/feed',
471
        'development-and-content/comments',
472
        'development-and-content/comments/delete',
15175 efrain 473
        'development-and-content/comments/answer',
13353 eleazar 474
        'development-and-content/category',
475
        'development-and-content/category/add',
476
        'development-and-content/category/edit',
477
        'development-and-content/category/delete',
14743 kerby 478
        'development-and-content/add',
479
        'development-and-content/delete',
480
        'development-and-content/aproved',
481
        'development-and-content/edit',
482
        'development-and-content/categories',
15175 efrain 483
 
15401 efrain 484
        'discovery-contacts',
485
        'discovery-contacts/add',
486
        'discovery-contacts/edit',
487
        'discovery-contacts/delete',
488
        'discovery-contacts/view',
489
        'discovery-contacts/interaction-types',
490
        'discovery-contacts/interaction-types/add',
491
        'discovery-contacts/interaction-types/delete',
492
        'discovery-contacts/interaction-types/edit',
493
        'discovery-contacts/interactions',
494
        'discovery-contacts/interactions/add',
495
        'discovery-contacts/interactions/delete',
496
        'discovery-contacts/logs',
15175 efrain 497
 
15451 efrain 498
        'my-coach',
499
        'my-coach/categories',
500
        'my-coach/categories/add',
501
        'my-coach/categories/edit',
502
        'my-coach/categories/delete',
503
        'my-coach/categories/editors',
504
        'my-coach/categories/editors/add',
505
        'my-coach/categories/editors/delete',
506
 
507
 
508
 
1333 efrain 509
        'induction',
13524 nelberth 510
 
1333 efrain 511
        'culture',
13524 nelberth 512
 
513
        'inmail',
514
        'inmail/search-people',
14989 efrain 515
        'inmail/view',
13553 nelberth 516
        'inmail/view/message',
14989 efrain 517
        'inmail/view/message/send',
13771 nelberth 518
        'inmail/sendall',
14989 efrain 519
 
13553 nelberth 520
 
13778 nelberth 521
        'inmail/company',
522
        'inmail/company/message',
523
        'inmail/company/message/send',
524
 
1333 efrain 525
        'communication',
13675 nelberth 526
        'communication/inbox',
13731 nelberth 527
        'communication/inbox/sendall',
13675 nelberth 528
        'communication/inbox/search-people',
529
        'communication/inbox/view/message',
530
        'communication/inbox/view',
531
        'communication/inbox/view/message/send',
13525 nelberth 532
 
533
 
1333 efrain 534
        'career-development',
535
        'building-my-future',
4410 nelberth 536
 
4391 nelberth 537
        'my-trainer',
8462 eleazar 538
        'my-trainer/category',
539
        'my-trainer/category/add',
540
        'my-trainer/category/edit',
541
        'my-trainer/category/delete',
542
        'my-trainer/question',
543
        'my-trainer/question/add',
544
        'my-trainer/question/edit',
545
        'my-trainer/question/delete',
11168 eleazar 546
        'my-trainer/question/view',
11842 eleazar 547
        'my-trainer/question/answer',
548
        'my-trainer/question/answer/add',
549
        'my-trainer/question/answer/edit',
550
        'my-trainer/question/answer/delete',
11873 eleazar 551
        'my-trainer/question/answer/feed',
11921 eleazar 552
        'my-trainer/question/answer/timeline',
11842 eleazar 553
        'my-trainer/question/answer/comments',
554
        'my-trainer/question/answer/comments/delete',
555
        'my-trainer/question/answer/comments/answer',
15387 efrain 556
 
557
        'reports',
558
        'reports/users-blocked',
559
        'reports/users-blocked/excel',
560
 
15442 efrain 561
        'activities-center',
562
        'activities-center/performance-evaluation',
563
        'activities-center/performance-evaluation/take-a-test',
564
        'activities-center/performance-evaluation/report',
565
 
1 www 566
    ];
567
}
568
 
15336 efrain 569
 
570
 
571
 
779 geraldo 572
function getAclRolesCompany() {
1 www 573
    return [
1336 efrain 574
 
15088 efrain 575
 
576
 
4 efrain 577
        'company-creator' => [
578
            'home',
579
            'signin-admin',
580
            'signin-company',
581
            'dashboard',
582
            'signout',
583
            'storage',
584
            'profile',
585
            'profile/extended',
586
            'profile/cover',
779 geraldo 587
            'profile/header',
588
            'profile/footer',
4 efrain 589
            'profile/image',
590
            'profile/website',
591
            'profile/foundation_year',
592
            'profile/location',
593
            'profile/social-network',
594
            'profile/company-size',
595
            'profile/industry',
596
            'profile/delete',
597
            'users',
598
            'users/change-password',
599
            'users/unblock',
600
            'users/invite',
601
            'users/accept',
602
            'users/cancel',
603
            'users/reject',
604
            'users/edit',
605
            'users/upload',
15387 efrain 606
 
4 efrain 607
            'feeds',
15175 efrain 608
            'feeds/timeline',
609
            'feeds/onefeed',
610
            'feeds/delete',
611
            'feeds/comments',
612
            'feeds/comments/delete',
613
            'feeds/comments/answer',
15364 efrain 614
            'feeds/add',
15175 efrain 615
 
4 efrain 616
            'followers',
617
            'followers/delete',
618
            'jobs',
619
            'jobs/add',
620
            'jobs/delete',
621
            'jobs/users-who-applied',
622
            'jobs/edit',
15088 efrain 623
            'jobs/edit/title',
624
            'jobs/edit/status',
4 efrain 625
            'jobs/edit/last-date-of-application',
626
            'jobs/edit/employment-type',
627
            'jobs/edit/experience',
628
            'jobs/edit/job-category',
629
            'jobs/edit/extended',
630
            'jobs/edit/location',
631
            'jobs/edit/salary',
632
            'jobs/edit/languages',
633
            'jobs/edit/degrees',
634
            'jobs/edit/skills',
635
            'jobs/edit/how-apply',
15336 efrain 636
 
15387 efrain 637
            'reports',
638
            'reports/users-blocked',
639
            'reports/users-blocked/excel',
1953 nelberth 640
 
14692 efrain 641
 
15387 efrain 642
 
4 efrain 643
        ],
1 www 644
        'company-admin' => [
645
            'home',
646
            'signin-admin',
647
            'signin-company',
648
            'dashboard',
649
            'signout',
650
            'storage',
651
            'profile',
652
            'profile/extended',
653
            'profile/cover',
654
            'profile/image',
779 geraldo 655
            'profile/header',
656
            'profile/footer',
1 www 657
            'profile/website',
658
            'profile/foundation_year',
659
            'profile/location',
660
            'profile/social-network',
661
            'profile/company-size',
662
            'profile/industry',
663
            'profile/delete',
664
            'users',
665
            'users/change-password',
666
            'users/unblock',
667
            'users/invite',
668
            'users/accept',
669
            'users/cancel',
670
            'users/reject',
671
            'users/edit',
672
            'users/upload',
673
            'feeds',
15175 efrain 674
            'feeds/timeline',
675
            'feeds/onefeed',
676
            'feeds/delete',
677
            'feeds/comments',
678
            'feeds/comments/delete',
679
            'feeds/comments/answer',
15364 efrain 680
            'feeds/add',
15175 efrain 681
 
1 www 682
            'followers',
683
            'followers/delete',
684
            'jobs',
685
            'jobs/add',
686
            'jobs/delete',
687
            'jobs/users-who-applied',
688
            'jobs/edit',
15088 efrain 689
            'jobs/edit/title',
690
            'jobs/edit/status',
1 www 691
            'jobs/edit/last-date-of-application',
692
            'jobs/edit/employment-type',
693
            'jobs/edit/experience',
694
            'jobs/edit/job-category',
695
            'jobs/edit/extended',
696
            'jobs/edit/location',
697
            'jobs/edit/salary',
698
            'jobs/edit/languages',
699
            'jobs/edit/degrees',
700
            'jobs/edit/skills',
701
            'jobs/edit/how-apply',
15387 efrain 702
 
703
            'reports',
704
            'reports/users-blocked',
705
            'reports/users-blocked/excel',
1 www 706
        ],
707
        'company-password-unblock' => [
708
            'home',
709
            'signin-admin',
710
            'signin-company',
711
            'dashboard',
712
            'signout',
713
            'storage',
714
            'users',
715
            'users/change-password',
716
            'users/unblock',
15088 efrain 717
 
15387 efrain 718
            'reports',
719
            'reports/users-blocked',
720
            'reports/users-blocked/excel',
721
 
722
 
1 www 723
        ],
724
        'microlearning-admin' => [
725
            'home',
726
            'signin-admin',
727
            'signin-company',
728
            'dashboard',
729
            'signout',
730
            'storage',
731
            'microlearning',
732
            'microlearning/overview',
187 efrain 733
            'microlearning/reports',
734
            'microlearning/reports/progress',
14610 efrain 735
            'microlearning/reports/progress-for-capsule',
15386 efrain 736
            'microlearning/reports/progress-for-capsule/excel',
737
            'microlearning/reports/progress-for-topic',
738
            'microlearning/reports/progress-for-topic/excel',
739
            'microlearning/reports/progress-for-student',
740
            'microlearning/reports/progress-for-student/excel',
15390 efrain 741
            'microlearning/reports/devices-and-access',
742
            'microlearning/reports/devices-and-access/excel',
187 efrain 743
            'microlearning/reports/comments-for-capsule',
15390 efrain 744
            'microlearning/reports/comments-for-capsule/excel',
1 www 745
            'microlearning/content',
746
            'microlearning/content/topics',
747
            'microlearning/content/topics/add',
748
            'microlearning/content/topics/edit',
749
            'microlearning/content/topics/delete',
750
            'microlearning/content/capsules',
751
            'microlearning/content/capsules/add',
752
            'microlearning/content/capsules/edit',
753
            'microlearning/content/capsules/delete',
754
            'microlearning/content/capsules/users',
755
            'microlearning/content/slides',
756
            'microlearning/content/slides/add',
757
            'microlearning/content/slides/edit',
758
            'microlearning/content/slides/delete',
759
            'microlearning/content/slides/text',
760
            'microlearning/students',
761
            'microlearning/students/edit',
762
            'microlearning/students/timeline',
763
            'microlearning/access-for-students',
764
            'microlearning/access-for-students/revoke',
765
            'microlearning/access-for-students/unlimit',
766
            'microlearning/access-for-students/cancel',
767
            'microlearning/access-for-students/reactive',
768
            'microlearning/access-for-students/upload',
769
            'microlearning/access-for-students/notification',
770
            'microlearning/settings',
771
            'microlearning/settings/student-types',
772
            'microlearning/settings/student-types/add',
773
            'microlearning/settings/student-types/edit',
774
            'microlearning/settings/student-types/delete',
775
            'microlearning/settings/functions',
776
            'microlearning/settings/functions/add',
777
            'microlearning/settings/functions/edit',
778
            'microlearning/settings/functions/delete',
779
            'microlearning/settings/sectors',
780
            'microlearning/settings/sectors/add',
781
            'microlearning/settings/sectors/edit',
782
            'microlearning/settings/sectors/delete',
783
            'microlearning/settings/programs',
784
            'microlearning/settings/programs/add',
785
            'microlearning/settings/programs/edit',
786
            'microlearning/settings/programs/delete',
787
            'microlearning/settings/groups',
788
            'microlearning/settings/groups/add',
789
            'microlearning/settings/groups/edit',
790
            'microlearning/settings/groups/delete',
791
            'microlearning/settings/companies',
792
            'microlearning/settings/companies/add',
793
            'microlearning/settings/companies/edit',
794
            'microlearning/settings/companies/delete',
795
            'microlearning/settings/partners',
796
            'microlearning/settings/partners/add',
797
            'microlearning/settings/partners/edit',
798
            'microlearning/settings/partners/delete',
799
            'microlearning/settings/institutions',
800
            'microlearning/settings/institutions/add',
801
            'microlearning/settings/institutions/edit',
802
            'microlearning/settings/institutions/delete',
15394 efrain 803
            'microlearning/settings/countries',
804
            'microlearning/settings/countries/add',
805
            'microlearning/settings/countries/edit',
806
            'microlearning/settings/countries/delete',
1 www 807
        ],
808
        'microlearning-editor' => [
809
            'home',
810
            'signin-admin',
811
            'signin-company',
812
            'dashboard',
813
            'signout',
814
            'storage',
815
            'microlearning',
816
            'microlearning/content',
817
            'microlearning/content/topics',
818
            'microlearning/content/topics/add',
819
            'microlearning/content/topics/edit',
820
            'microlearning/content/topics/delete',
821
            'microlearning/content/capsules',
822
            'microlearning/content/capsules/add',
823
            'microlearning/content/capsules/edit',
824
            'microlearning/content/capsules/delete',
825
            'microlearning/content/capsules/users',
826
            'microlearning/content/slides',
827
            'microlearning/content/slides/add',
828
            'microlearning/content/slides/edit',
829
            'microlearning/content/slides/delete',
830
            'microlearning/content/slides/text',
831
            'microlearning/access-for-students',
832
            'microlearning/access-for-students/revoke',
833
            'microlearning/access-for-students/unlimit',
834
            'microlearning/access-for-students/cancel',
835
            'microlearning/access-for-students/reactive',
836
            'microlearning/access-for-students/upload',
837
            'microlearning/access-for-students/notification',
838
        ],
839
        'microlearning-students-password-unblock' => [
840
            'home',
841
            'signin-admin',
842
            'signin-company',
843
            'dashboard',
844
            'signout',
845
            'storage',
846
            'microlearning',
847
            'microlearning/students',
848
            'microlearning/students/change-password',
849
            'microlearning/students/unblock',
850
        ],
851
        'self-evaluation-admin' => [
114 efrain 852
            'self-evaluation',
853
            'self-evaluation/forms',
854
            'self-evaluation/forms/add',
855
            'self-evaluation/forms/edit',
856
            'self-evaluation/forms/delete',
115 efrain 857
            'self-evaluation/users',
858
            'self-evaluation/users/add',
859
            'self-evaluation/users/delete',
114 efrain 860
            'self-evaluation/reviews',
115 efrain 861
            'self-evaluation/reviews/edit',
470 geraldo 862
            'self-evaluation/reviews/report',
1 www 863
        ],
15088 efrain 864
        'self-evaluation-reviews' => [
865
            'self-evaluation',
866
            'self-evaluation/reviews',
867
            'self-evaluation/reviews/edit',
868
            'self-evaluation/reviews/report',
869
        ],
975 geraldo 870
        'performance-evaluation-admin' => [
15088 efrain 871
            'settings',
15442 efrain 872
            'jobs-description/positions',
873
            'jobs-description/positions/add',
874
            'jobs-description/positions/edit',
875
            'jobs-description/positions/delete',
876
            'jobs-description/positions/subordinates',
15088 efrain 877
 
15442 efrain 878
            'jobs-description/behaviors',
879
            'jobs-description/behaviors/add',
880
            'jobs-description/behaviors/edit',
881
            'jobs-description/behaviors/delete',
882
            'jobs-description/behaviors/import',
15371 efrain 883
 
15442 efrain 884
            'jobs-description/competencies',
885
            'jobs-description/competencies/add',
886
            'jobs-description/competencies/edit',
887
            'jobs-description/competencies/delete',
888
            'jobs-description/competencies/import',
15088 efrain 889
 
15442 efrain 890
            'jobs-description/competency-types',
891
            'jobs-description/competency-types/add',
892
            'jobs-description/competency-types/edit',
893
            'jobs-description/competency-types/delete',
894
            'jobs-description/competency-types/import',
15088 efrain 895
 
15442 efrain 896
            'jobs-description',
897
            'jobs-description/add',
898
            'jobs-description/edit',
899
            'jobs-description/delete',
900
            'jobs-description/report',
901
            'jobs-description/import',
15088 efrain 902
 
975 geraldo 903
            'performance-evaluation',
904
            'performance-evaluation/forms',
905
            'performance-evaluation/forms/add',
906
            'performance-evaluation/forms/edit',
907
            'performance-evaluation/forms/delete',
15442 efrain 908
            'performance-evaluation/forms/job-description',
909
            'performance-evaluation/forms/active',
910
            'performance-evaluation/forms/inactive',
1263 geraldo 911
            'performance-evaluation/forms/report',
15442 efrain 912
 
913
 
914
            'performance-evaluation/evaluations',
915
            'performance-evaluation/evaluations/add',
916
            'performance-evaluation/evaluations/delete',
917
            'performance-evaluation/evaluations/report'
15088 efrain 918
        ],
919
 
920
 
921
        'performance-evaluation-editor' => [
15442 efrain 922
            'performance-evaluation/evaluations',
923
            'performance-evaluation/evaluations/add',
924
            'performance-evaluation/evaluations/delete',
925
            'performance-evaluation/evaluations/report'
1383 efrain 926
 
975 geraldo 927
        ],
15088 efrain 928
        'recruitment-and-selection-admin' => [
929
            'settings',
15442 efrain 930
            'jobs-description/positions',
931
            'jobs-description/positions/add',
932
            'jobs-description/positions/edit',
933
            'jobs-description/positions/delete',
934
            'jobs-description/positions/subordinates',
15088 efrain 935
 
15442 efrain 936
            'jobs-description/behaviors',
937
            'jobs-description/behaviors/add',
938
            'jobs-description/behaviors/edit',
939
            'jobs-description/behaviors/delete',
940
            'jobs-description/behaviors/import',
15371 efrain 941
 
15442 efrain 942
            'jobs-description/competencies',
943
            'jobs-description/competencies/add',
944
            'jobs-description/competencies/edit',
945
            'jobs-description/competencies/delete',
946
            'jobs-description/competencies/import',
15088 efrain 947
 
15442 efrain 948
            'jobs-description/competency-types',
949
            'jobs-description/competency-types/add',
950
            'jobs-description/competency-types/edit',
951
            'jobs-description/competency-types/delete',
952
            'jobs-description/competency-types/import',
15088 efrain 953
 
15442 efrain 954
            'jobs-description',
955
            'jobs-description/add',
956
            'jobs-description/edit',
957
            'jobs-description/delete',
958
            'jobs-description/report',
959
            'jobs-description/import',
15088 efrain 960
 
961
            'recruitment-and-selection',
962
            'recruitment-and-selection/vacancies',
963
            'recruitment-and-selection/vacancies/add',
964
            'recruitment-and-selection/vacancies/edit',
965
            'recruitment-and-selection/vacancies/delete',
966
            'recruitment-and-selection/candidates',
967
            'recruitment-and-selection/candidates/add',
968
            'recruitment-and-selection/candidates/edit',
969
            'recruitment-and-selection/candidates/delete',
970
            'recruitment-and-selection/user-by-email',
971
            'recruitment-and-selection/interview',
972
            'recruitment-and-selection/interview/form',
973
            'recruitment-and-selection/interview/form/add',
974
            'recruitment-and-selection/interview/form/edit',
975
            'recruitment-and-selection/interview/form/delete',
976
            'recruitment-and-selection/interview/report',
977
            'recruitment-and-selection/interview/vacancy',
978
            'recruitment-and-selection/interview/type',
979
            'recruitment-and-selection/interview/file',
980
            'recruitment-and-selection/interview/file/add',
981
            'recruitment-and-selection/interview/file/edit',
982
            'recruitment-and-selection/interview/file/delete',
983
        ],
984
 
985
        'recruitment-and-selection-editor' => [
986
            'recruitment-and-selection',
987
            'recruitment-and-selection/vacancies',
988
            'recruitment-and-selection/vacancies/add',
989
            'recruitment-and-selection/vacancies/edit',
990
            'recruitment-and-selection/vacancies/delete',
991
            'recruitment-and-selection/candidates',
992
            'recruitment-and-selection/candidates/add',
993
            'recruitment-and-selection/candidates/edit',
994
            'recruitment-and-selection/candidates/delete',
995
            'recruitment-and-selection/user-by-email',
996
            'recruitment-and-selection/interview',
997
            'recruitment-and-selection/interview/form',
998
            'recruitment-and-selection/interview/form/add',
999
            'recruitment-and-selection/interview/form/edit',
1000
            'recruitment-and-selection/interview/form/delete',
1001
            'recruitment-and-selection/interview/report',
1002
            'recruitment-and-selection/interview/vacancy',
1003
            'recruitment-and-selection/interview/type',
1004
            'recruitment-and-selection/interview/file',
1005
            'recruitment-and-selection/interview/file/add',
1006
            'recruitment-and-selection/interview/file/edit',
1007
            'recruitment-and-selection/interview/file/delete',
1008
        ],
15149 efrain 1009
        'survey-admin' => [
1010
            'survey',
1011
            'survey/add',
1012
            'survey/edit',
1013
            'survey/delete',
1014
            'survey/form',
1015
            'survey/form/add',
1016
            'survey/form/edit',
1017
            'survey/form/delete',
1018
            'survey/test',
1019
            'survey/test/add',
1020
            'survey/test/report',
1021
            'survey/test/delete',
1022
            'survey/report',
1023
            'survey/report/overview',
1024
            'survey/report/all',
1025
            'survey/report/excel',
1026
        ],
1027
        'survey-test' => [
1028
            'survey/test',
1029
            'survey/test/add',
1030
            'survey/test/report',
1031
            'survey/test/delete',
1032
        ],
1033
        'survey-report' => [
1034
            'survey/report',
1035
            'survey/report/overview',
1036
            'survey/report/all',
1037
            'survey/report/excel',
1038
        ],
15175 efrain 1039
        'organizational-climate-admin' => [
1040
            'organizational-climate',
1041
            'organizational-climate/add',
1042
            'organizational-climate/edit',
1043
            'organizational-climate/delete',
1044
            'organizational-climate/form',
1045
            'organizational-climate/form/add',
1046
            'organizational-climate/form/edit',
1047
            'organizational-climate/form/delete',
1048
            'organizational-climate/test',
1049
            'organizational-climate/test/add',
1050
            'organizational-climate/test/report',
1051
            'organizational-climate/test/delete',
1052
            'organizational-climate/report',
1053
            'organizational-climate/report/overview',
1054
            'organizational-climate/report/all',
1055
            'organizational-climate/report/excel',
1056
        ],
1057
        'organizational-climate-test' => [
1058
            'organizational-climate/test',
1059
            'organizational-climate/test/add',
1060
            'organizational-climate/test/report',
1061
            'organizational-climate/test/delete',
1062
        ],
1063
        'organizational-climate-report' => [
1064
            'organizational-climate/report',
1065
            'organizational-climate/report/overview',
1066
            'organizational-climate/report/all',
1067
            'organizational-climate/report/excel',
15386 efrain 1068
        ],
1069
        'planning-objectives-and-goals-admin' => [
1070
            'planning-objectives-and-goals',
1071
            'planning-objectives-and-goals/objectives',
1072
            'planning-objectives-and-goals/objectives/report',
1073
            'planning-objectives-and-goals/objectives/reportall',
1074
            'planning-objectives-and-goals/objectives/matriz',
1075
            'planning-objectives-and-goals/objectives/goals',
1076
            'planning-objectives-and-goals/objectives/goals/add',
1077
            'planning-objectives-and-goals/objectives/goals/edit',
1078
            'planning-objectives-and-goals/objectives/goals/delete',
1079
            'planning-objectives-and-goals/objectives/goals/task',
1080
            'planning-objectives-and-goals/objectives/goals/task/add',
1081
            'planning-objectives-and-goals/objectives/goals/task/edit',
1082
            'planning-objectives-and-goals/objectives/goals/task/delete',
1083
            'planning-objectives-and-goals/objectives/goals/task/view',
1084
            'planning-objectives-and-goals/objectives/add',
1085
            'planning-objectives-and-goals/objectives/delete',
1086
            'planning-objectives-and-goals/objectives/edit',
1087
        ],
15401 efrain 1088
        'discovery-contacts-admin' => [
1089
 
1090
            'discovery-contacts',
1091
            'discovery-contacts/add',
1092
            'discovery-contacts/edit',
1093
            'discovery-contacts/delete',
1094
            'discovery-contacts/view',
1095
            'discovery-contacts/interaction-types',
1096
            'discovery-contacts/interaction-types/add',
1097
            'discovery-contacts/interaction-types/delete',
1098
            'discovery-contacts/interaction-types/edit',
1099
            'discovery-contacts/interactions',
1100
            'discovery-contacts/interactions/add',
1101
            'discovery-contacts/interactions/delete',
1102
            'discovery-contacts/logs',
1103
         ],
1104
        'discovery-contacts-user' => [
1105
 
1106
            'discovery-contacts',
1107
            'discovery-contacts/add',
1108
            'discovery-contacts/edit',
1109
            'discovery-contacts/view',
1110
            'discovery-contacts/interactions',
1111
            'discovery-contacts/interactions/add',
1112
            'discovery-contacts/interactions/delete',
1113
            'discovery-contacts/logs',
1114
        ],
15451 efrain 1115
        'my-coach-admin' => [
1116
            'my-coach',
1117
            'my-coach/categories',
1118
            'my-coach/categories/add',
1119
            'my-coach/categories/edit',
1120
            'my-coach/categories/delete',
1121
            'my-coach/categories/editors',
1122
            'my-coach/categories/editors/add',
1123
            'my-coach/categories/editors/delete',
1124
        ]
15401 efrain 1125
 
779 geraldo 1126
    ];
1 www 1127
}
1128
 
15355 efrain 1129
function getAclPermissionPushTemplatesForCustomApps()
1130
{
1131
    return [
1132
        'settings',
1133
        'settings/push-templates',
1134
        'settings/push-templates/edit',
1135
        'settings/push-templates/import',
1136
    ];
1137
}
1138
 
15336 efrain 1139
function getAclPermissionSuperAdmin()
1140
{
1 www 1141
    return [
15336 efrain 1142
        'settings',
1143
        'settings/private-networks',
1144
        'settings/private-networks/add',
1145
        'settings/private-networks/edit',
1146
        'settings/private-networks/delete',
15355 efrain 1147
 
15460 efrain 1148
 
1149
 
1150
 
15336 efrain 1151
    ];
1152
}
1153
 
1154
function  getAclPermissionAdminForDefaultNetwork()
1155
{
1156
    return [
15460 efrain 1157
 
1158
 
1159
        'jobs-description',
1160
        'jobs-description/add',
1161
        'jobs-description/edit',
1162
        'jobs-description/delete',
1163
 
15442 efrain 1164
        'jobs-description/competency-types',
1165
        'jobs-description/competency-types/add',
1166
        'jobs-description/competency-types/edit',
1167
        'jobs-description/competency-types/delete',
1168
        'jobs-description/behaviors',
15460 efrain 1169
 
15442 efrain 1170
        'jobs-description/behaviors/add',
1171
        'jobs-description/behaviors/edit',
15460 efrain 1172
        'jobs-description/behaviors/delete',
1173
 
15442 efrain 1174
        'jobs-description/competencies',
1175
        'jobs-description/competencies/add',
1176
        'jobs-description/competencies/edit',
1177
        'jobs-description/competencies/delete',
15460 efrain 1178
 
1179
        'settings',
1180
 
1181
        'settings/email-templates',
1182
        'settings/email-templates/edit',
1183
 
1184
        'settings/push-templates',
1185
        'settings/push-templates/edit',
1186
 
1187
        'settings/countries',
1188
        'settings/countries/add',
1189
        'settings/countries/edit',
1190
        'settings/countries/delete',
1191
 
1192
        'settings/company-sizes',
1193
        'settings/company-sizes/add',
1194
        'settings/company-sizes/edit',
1195
        'settings/company-sizes/delete',
1196
 
15336 efrain 1197
        'settings/degrees',
1198
        'settings/degrees/add',
1199
        'settings/degrees/edit',
1200
        'settings/degrees/delete',
15460 efrain 1201
 
15336 efrain 1202
        'settings/group-types',
1203
        'settings/group-types/add',
1204
        'settings/group-types/edit',
1205
        'settings/group-types/delete',
15460 efrain 1206
 
15336 efrain 1207
        'settings/industries',
1208
        'settings/industries/add',
1209
        'settings/industries/edit',
1210
        'settings/industries/delete',
15460 efrain 1211
 
15336 efrain 1212
        'settings/job-categories',
1213
        'settings/job-categories/add',
1214
        'settings/job-categories/edit',
1215
        'settings/job-categories/delete',
15460 efrain 1216
 
15336 efrain 1217
        'settings/skills',
1218
        'settings/skills/add',
1219
        'settings/skills/edit',
1220
        'settings/skills/delete',
15460 efrain 1221
 
15336 efrain 1222
        'settings/aptitudes',
1223
        'settings/aptitudes/add',
1224
        'settings/aptitudes/edit',
1225
        'settings/aptitudes/delete',
1226
 
1227
        'settings/hobbies-and-interests',
1228
        'settings/hobbies-and-interests/add',
1229
        'settings/hobbies-and-interests/edit',
1230
        'settings/hobbies-and-interests/delete',
15460 efrain 1231
 
15336 efrain 1232
 
15460 efrain 1233
 
1234
 
15336 efrain 1235
        'settings/email-templates',
1236
        'settings/email-templates/edit',
1237
        'settings/push-templates',
1238
        'settings/push-templates/edit',
1239
 
1240
 
1241
        'settings/my-private-network',
1242
        'settings/my-private-network/intro',
1243
        'settings/my-private-network/navbar',
1244
        'settings/my-private-network/favicon',
1245
        'settings/my-private-network/logo',
1246
        'settings/my-private-network/styles-and-colors',
15394 efrain 1247
        'settings/my-private-network/calendar',
15336 efrain 1248
 
1249
        'companies',
1250
        'companies/edit',
1251
        'companies/services',
1252
        'companies/roles',
15387 efrain 1253
 
1254
        'reports',
1255
        'reports/users-blocked',
1256
        'reports/users-blocked/excel',
15336 efrain 1257
    ];
1258
}
1259
 
1260
function  getAclPermissionAdminForNonDefaultNetwork()
1261
{
1262
    return [
1263
        'settings',
1264
        'settings/email-templates',
1265
        'settings/email-templates/edit',
1266
 
1267
 
1268
        'settings/my-private-network',
1269
        'settings/my-private-network/intro',
1270
        'settings/my-private-network/navbar',
1271
        'settings/my-private-network/favicon',
1272
        'settings/my-private-network/logo',
1273
        'settings/my-private-network/styles-and-colors',
15394 efrain 1274
        'settings/my-private-network/calendar',
15336 efrain 1275
 
15394 efrain 1276
 
15387 efrain 1277
        'reports',
1278
        'reports/users-blocked',
1279
        'reports/users-blocked/excel',
15336 efrain 1280
 
15457 efrain 1281
        'users',
1282
        'users/request-access',
1283
        'users/request-access/approve',
1284
        'users/request-access/reject',
15387 efrain 1285
 
15457 efrain 1286
 
15336 efrain 1287
    ];
1288
}
1289
 
1290
 
1291
 
1292
function getAclRolesForUsertype() {
1293
    return [
1 www 1294
        UserType::ADMIN => [
1295
            'home',
1296
            'signin-admin',
1297
            'signin-company',
1298
            'dashboard',
1299
            'signout',
1300
            'storage',
1301
            'settings',
15336 efrain 1302
 
1303
 
1304
            'settings/my-private-network',
1305
            'settings/my-private-network/navbar',
1306
            'settings/my-private-network/favicon',
1307
            'settings/my-private-network/logo',
1308
            'settings/my-private-network/styles-and-colors',
15394 efrain 1309
            'settings/my-private-network/calendar',
15336 efrain 1310
 
1 www 1311
            'publications',
1312
            'publications/posts',
1313
            'publications/posts/add',
1314
            'publications/posts/edit',
1315
            'publications/posts/delete',
1316
            'publications/pages',
1317
            'publications/pages/add',
1318
            'publications/pages/edit',
1319
            'publications/pages/delete',
14610 efrain 1320
 
1 www 1321
            'users',
1322
            'users/change-password',
1323
            'users/unblock',
129 efrain 1324
            'users/email-verify',
15387 efrain 1325
            'users/upload',
14587 efrain 1326
 
1327
            'chat/heart-beat',
1328
            'chat/create-group',
1329
            'chat/add-user-to-group',
1330
            'chat/mark-seen',
1331
            'chat/mark-received',
1332
            'chat/remove-user-from-group',
1333
            'chat/get-all-messages',
1334
            'chat/send',
1335
            'chat/get-contacts-availables-for-group',
1336
            'chat/get-contact-group-list',
1337
            'chat/leave-group',
1338
            'chat/delete-group',
1339
            'chat/close',
1340
            'chat/clear',
14692 efrain 1341
            'chat/open',
14587 efrain 1342
            'chat/upload',
14691 efrain 1343
            'csrf',
14587 efrain 1344
 
15387 efrain 1345
            'reports',
1346
            'reports/users-blocked',
1347
 
15442 efrain 1348
            'activities-center',
1349
            'activities-center/performance-evaluation',
1350
            'activities-center/performance-evaluation/take-a-test',
1351
            'activities-center/performance-evaluation/report',
1352
 
1 www 1353
        ],
15336 efrain 1354
 
1 www 1355
        UserType::USER => [
1356
            'home',
1357
            'signin-admin',
1358
            'signin-company',
1359
            'dashboard',
1360
            'signout',
1361
            'storage',
15336 efrain 1362
            'storage-network',
14610 efrain 1363
 
15088 efrain 1364
            'home',
1365
            'signin-admin',
1366
            'signin-company',
1367
            'dashboard',
1368
            'signout',
1369
            'storage',
1370
 
14587 efrain 1371
            'chat',
1372
            'chat/heart-beat',
1373
            'chat/create-group',
1374
            'chat/add-user-to-group',
1375
            'chat/mark-seen',
1376
            'chat/mark-received',
1377
            'chat/remove-user-from-group',
1378
            'chat/get-all-messages',
1379
            'chat/send',
1380
            'chat/get-contacts-availables-for-group',
1381
            'chat/get-contact-group-list',
1382
            'chat/leave-group',
1383
            'chat/delete-group',
1384
            'chat/close',
1385
            'chat/clear',
14692 efrain 1386
            'chat/open',
14588 efrain 1387
            'chat/upload',
14691 efrain 1388
            'csrf',
15442 efrain 1389
 
1390
            'activities-center',
1391
            'activities-center/performance-evaluation',
1392
            'activities-center/performance-evaluation/take-a-test',
1393
            'activities-center/performance-evaluation/report',
14610 efrain 1394
 
1395
 
1 www 1396
        ],
1397
        UserType::GUEST => [
1398
            'home',
1399
            'signin-admin',
1400
            'signin-company',
1401
            'signout',
15336 efrain 1402
            'storage-network',
1916 nelberth 1403
 
8536 efrain 1404
 
1 www 1405
        ],
1406
    ];
1407
}
1408
 
779 geraldo 1409
function getAclMenuSystem() {
1 www 1410
    return [
1411
        [
1412
            'label' => 'LABEL_HOME',
1413
            'route' => 'dashboard',
1414
            'class' => 'fa fa-home'
1415
        ],
15442 efrain 1416
 
1 www 1417
        [
15336 efrain 1418
            'label' => 'LABEL_PRIVATE_NETWORKS',
1419
            'route' => 'settings/private-networks',
1420
            'class' => 'fa fa-building',
1421
        ],
1422
 
1423
 
1424
        [
1425
            'label' => 'LABEL_MY_PRIVATE_NETWORK',
1426
            'route' => 'settings/my-private-network',
1427
            'class' => 'fa fa-building',
1428
            'pages' => [
1429
                [
15394 efrain 1430
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_CALENDAR',
1431
                    'route' => 'settings/my-private-network/calendar',
1432
                ],
1433
                [
15336 efrain 1434
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_INTRO',
1435
                    'route' => 'settings/my-private-network/intro',
1436
                ],
1437
                [
1438
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_NAVBAR',
1439
                    'route' => 'settings/my-private-network/navbar',
1440
                ],
1441
                [
1442
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_FAVICO',
1443
                    'route' => 'settings/my-private-network/favicon',
1444
                ],
1445
                [
1446
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_LOGO',
1447
                    'route' => 'settings/my-private-network/logo',
1448
                ],
1449
                [
1450
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_STYLES_AND_COLORS',
1451
                    'route' => 'settings/my-private-network/styles-and-colors',
1452
                ],
15394 efrain 1453
 
15336 efrain 1454
 
1455
 
1456
            ],
1457
        ],
1458
 
1459
 
1460
        [
1 www 1461
            'label' => 'LABEL_COMPANIES',
1462
            'route' => 'companies',
1463
            'class' => 'fa fa-building',
1464
        ],
1465
        [
15442 efrain 1466
            'label' => 'LABEL_JOBS_DESCRIPTION',
1467
            'route' => 'jobs-description',
1468
            'class' => 'fa fa-book',
1 www 1469
            'pages' => [
1470
                [
15442 efrain 1471
                    'label' => 'LABEL_COMPETENCIES',
1472
                    'route' => 'jobs-description/competencies',
15392 efrain 1473
                ],
1474
                [
15442 efrain 1475
                    'label' => 'LABEL_COMPETENCY_TYPES',
1476
                    'route' => 'jobs-description/competency-types',
1 www 1477
                ],
1478
                [
15442 efrain 1479
                    'label' => 'LABEL_BEHAVIORS',
1480
                    'route' => 'jobs-description/behaviors',
1 www 1481
                ],
15442 efrain 1482
            ]
1483
        ],
1484
        [
1485
            'label' => 'LABEL_SETTINGS',
1486
            'route' => 'settings',
1487
            'class' => 'fa fa-cog',
1488
            'pages' => [
1 www 1489
                [
15442 efrain 1490
                    'label' => 'LABEL_APTITUDES',
1491
                    'route' => 'settings/aptitudes',
14875 efrain 1492
                ],
1493
                [
15460 efrain 1494
                    'label' => 'LABEL_COUNTRIES',
1495
                    'route' => 'settings/countries',
1496
                ],
1497
                [
1 www 1498
                    'label' => 'LABEL_EMAIL_TEMPLATES',
1499
                    'route' => 'settings/email-templates',
1500
                ],
1501
                [
1502
                    'label' => 'LABEL_PUSH_TEMPLATES',
1503
                    'route' => 'settings/push-templates',
1504
                ],
1505
                [
1506
                    'label' => 'LABEL_DEGREES',
1507
                    'route' => 'settings/degrees',
1508
                ],
1509
                [
15392 efrain 1510
                    'label' => 'LABEL_HOBBIES_AND_INTERESTS',
1511
                    'route' => 'settings/hobbies-and-interests',
1512
                ],
1513
                [
1 www 1514
                    'label' => 'LABEL_SKILLS',
1515
                    'route' => 'settings/skills',
1516
                ],
1517
                [
1518
                    'label' => 'LABEL_INDUSTRIES',
1519
                    'route' => 'settings/industries',
1520
                ],
1521
                [
837 geraldo 1522
                    'label' => 'LABEL_JOBS_DESCRIPTION',
15442 efrain 1523
                    'route' => 'jobs-description',
836 geraldo 1524
                ],
1525
                [
1 www 1526
                    'label' => 'LABEL_COMPANY_SIZES',
1527
                    'route' => 'settings/company-sizes',
1528
                ],
1529
                [
1530
                    'label' => 'LABEL_COMPETENCY_TYPES',
15442 efrain 1531
                    'route' => 'jobs-description/competency-types',
1 www 1532
                ],
1533
                [
1534
                    'label' => 'LABEL_GROUP_TYPES',
1535
                    'route' => 'settings/group-types',
1536
                ],
1537
            ]
1538
        ],
1539
        [
1540
            'label' => 'LABEL_PUBLICATIONS',
1541
            'route' => 'publications',
1542
            'class' => 'fa fa-book',
1543
            'pages' => [
1544
                [
1545
                    'label' => 'LABEL_PAGES',
1546
                    'route' => 'publications/pages',
1547
                ],
1548
                [
1549
                    'label' => 'LABEL_POSTS',
1550
                    'route' => 'publications/posts',
1551
                ],
1552
            ]
1553
        ],
1554
        [
1555
            'label' => 'LABEL_USERS',
1556
            'route' => 'users',
1557
            'class' => 'fa fa-users',
1558
        ],
15457 efrain 1559
        [
1560
            'label' => 'LABEL_USERS_REQUEST_ACCESS',
1561
            'route' => 'users/request-access',
1562
            'class' => 'fa fa-key',
1563
        ],
1333 efrain 1564
 
15387 efrain 1565
        [
1566
            'label' => 'LABEL_REPORTS',
1567
            'route' => 'settings',
1568
            'class' => 'fa fa-print',
1569
            'pages' => [
1570
                [
1571
                    'label' => 'LABEL_REPORTS_USERS_BLOCKED',
1572
                    'route' => 'reports/users-blocked',
1573
                ],
1574
            ]
1575
        ],
1333 efrain 1576
 
1577
 
1578
        [
1 www 1579
            'label' => 'LABEL_LOGOUT',
1580
            'route' => 'signout',
1581
            'class' => 'fa fa-sign-out',
1582
        ]
779 geraldo 1583
    ];
1 www 1584
}
1585
 
779 geraldo 1586
function getAclMenuCompany() {
1587
 
1 www 1588
    return [
15442 efrain 1589
        /*[
1 www 1590
            'label' => 'LABEL_HOME',
1591
            'route' => 'dashboard',
1592
            'class' => 'fa fa-home'
15442 efrain 1593
        ],*/
1594
        [
1595
            'label' => 'LABEL_ACTIVITY_CENTER',
1596
            'route' => 'activities-center',
1597
            'class' => 'fa fa-home',
1598
            'pages' => [
1599
                [
1600
                    'label' => 'LABEL_PERFORMANCE_EVALUATION',
1601
                    'route' => 'activities-center/performance-evaluation',
1602
                ],
1603
            ],
1 www 1604
        ],
1605
        [
1606
            'label' => 'LABEL_JOBS',
1607
            'route' => 'jobs',
1608
            'class' => 'fa fa-briefcase'
1609
        ],
1610
        [
1611
            'label' => 'LABEL_FEEDS',
1612
            'route' => 'feeds',
1613
            'class' => 'fa fa-rss'
1614
        ],
114 efrain 1615
        [
13672 nelberth 1616
            'label' => 'LABEL_INMAIL',
13524 nelberth 1617
            'route' => 'inmail',
13487 nelberth 1618
            'class' => 'fa fa-envelope-o'
1619
        ],
1620
 
1621
        [
15401 efrain 1622
            'label' => 'LABEL_DISCOVERY_CONTACTS',
1623
            'route' => 'discovery-contacts',
1624
            'class' => 'fa fa-book',
1625
            'pages' => [
1626
                [
1627
                    'label' => 'LABEL_CONTACTS',
1628
                    'route' => 'discovery-contacts',
1629
                ],
1630
                [
1631
                    'label' => 'LABEL_INTERACTION_TYPES',
1632
                    'route' => 'discovery-contacts/interaction-types',
1633
                ],
1634
            ],
1635
        ],
15451 efrain 1636
        [
1637
            'label' => 'LABEL_MY_COACH',
1638
            'route' => 'my-coach',
1639
            'class' => 'fa fa-book',
1640
            'pages' => [
1641
                [
1642
                    'label' => 'LABEL_CATEGORIES',
1643
                    'route' => 'my-coach/categories',
1644
                ],
1645
            ],
1646
        ],
15401 efrain 1647
 
1648
        [
114 efrain 1649
            'label' => 'LABEL_SELF_EVALUATION',
1650
            'route' => 'self-evaluation',
1651
            'class' => 'fa fa-book',
1652
            'pages' => [
1653
                [
1654
                    'label' => 'LABEL_FORMS',
1655
                    'route' => 'self-evaluation/forms',
1656
                ],
115 efrain 1657
                [
1658
                    'label' => 'LABEL_USERS',
1659
                    'route' => 'self-evaluation/users',
246 geraldo 1660
                ],
1661
                [
1662
                    'label' => 'LABEL_REVIEWS',
1663
                    'route' => 'self-evaluation/reviews',
245 geraldo 1664
                ]
779 geraldo 1665
            ],
1666
        ],
1 www 1667
        [
1668
            'label' => 'LABEL_MICRO_LEARNING',
1669
            'route' => 'microlearning',
1670
            'class' => 'fa fa-book',
1671
            'pages' => [
1672
                [
1673
                    'label' => 'LABEL_OVERVIEW',
1674
                    'route' => 'microlearning/overview',
1675
                ],
1676
                [
1677
                    'label' => 'LABEL_REPORTS',
1678
                    'route' => 'microlearning/reports',
2 efrain 1679
                    'pages' => [
1680
                        [
15390 efrain 1681
                            'label' => 'LABEL_DEVICES_AND_ACCESS',
1682
                            'route' => 'microlearning/reports/devices-and-access',
2 efrain 1683
                        ],
14626 efrain 1684
/*
2 efrain 1685
                        [
1686
                            'label' => 'LABEL_PROGRESS',
1687
                            'route' => 'microlearning/reports/progress',
1688
                        ],
14626 efrain 1689
*/
14610 efrain 1690
                        [
15386 efrain 1691
                            'label' => 'LABEL_PROGRESS_FOR_TOPIC',
1692
                            'route' => 'microlearning/reports/progress-for-topic',
1693
                        ],
1694
                        [
14610 efrain 1695
                            'label' => 'LABEL_PROGRESS_FOR_CAPSULE',
1696
                            'route' => 'microlearning/reports/progress-for-capsule',
1697
                        ],
15386 efrain 1698
                        [
1699
                            'label' => 'LABEL_PROGRESS_FOR_STUDENT',
1700
                            'route' => 'microlearning/reports/progress-for-student',
1701
                        ],
779 geraldo 1702
                    ],
1 www 1703
                ],
1704
                [
1705
                    'label' => 'LABEL_CONTENT',
1706
                    'route' => 'microlearning/content',
1707
                    'pages' => [
1708
                        [
66 efrain 1709
                            'label' => 'LABEL_QUIZZES',
1710
                            'route' => 'microlearning/content/quizzes',
1711
                        ],
1712
                        [
1 www 1713
                            'label' => 'LABEL_TOPICS',
1714
                            'route' => 'microlearning/content/topics',
1715
                        ],
1716
                        [
1717
                            'label' => 'LABEL_CAPSULES',
1718
                            'route' => 'microlearning/content/capsules',
1719
                        ],
1720
                        [
1721
                            'label' => 'LABEL_SLIDES',
1722
                            'route' => 'microlearning/content/slides',
1723
                        ],
1724
                    ]
1725
                ],
1726
                [
1727
                    'label' => 'LABEL_ACCESS_FOR_STUDENTS',
1728
                    'route' => 'microlearning/access-for-students',
1729
                ],
1730
                [
1731
                    'label' => 'LABEL_STUDENTS',
1732
                    'route' => 'microlearning/students',
1733
                ],
1734
                [
1735
                    'label' => 'LABEL_FILTERS',
1736
                    'route' => 'microlearning/settings',
1737
                    'pages' => [
1738
                        [
15394 efrain 1739
                            'label' => 'LABEL_COUNTRIES',
1740
                            'route' => 'microlearning/settings/countries',
1741
                        ],
1742
                        [
1 www 1743
                            'label' => 'LABEL_COMPANIES',
1744
                            'route' => 'microlearning/settings/companies',
1745
                        ],
15394 efrain 1746
 
1 www 1747
                        [
1748
                            'label' => 'LABEL_FUNCTIONS',
1749
                            'route' => 'microlearning/settings/functions',
1750
                        ],
1751
                        [
1752
                            'label' => 'LABEL_GROUPS',
1753
                            'route' => 'microlearning/settings/groups',
1754
                        ],
1755
                        [
1756
                            'label' => 'LABEL_INSTITUTIONS',
1757
                            'route' => 'microlearning/settings/institutions',
1758
                        ],
1759
                        [
1760
                            'label' => 'LABEL_PROGRAMS',
1761
                            'route' => 'microlearning/settings/programs',
1762
                        ],
1763
                        [
1764
                            'label' => 'LABEL_PARTNERS',
1765
                            'route' => 'microlearning/settings/partners',
1766
                        ],
1767
                        [
1768
                            'label' => 'LABEL_SECTORS',
1769
                            'route' => 'microlearning/settings/sectors',
1770
                        ],
1771
                        [
1772
                            'label' => 'LABEL_STUDENT_TYPES',
1773
                            'route' => 'microlearning/settings/student-types',
1774
                        ],
779 geraldo 1775
                    ],
1 www 1776
                ]
1777
            ]
1778
        ],
1779
        [
15442 efrain 1780
            'label' => 'LABEL_JOBS_DESCRIPTION',
1781
            'route' => 'jobs-description',
28 efrain 1782
            'class' => 'fa fa-book',
1783
            'pages' => [
1784
                [
66 efrain 1785
                    'label' => 'LABEL_JOBS_DESCRIPTION',
15442 efrain 1786
                    'route' => 'jobs-description',
28 efrain 1787
                ],
1788
                [
1789
                    'label' => 'LABEL_COMPETENCIES',
15442 efrain 1790
                    'route' => 'jobs-description/competencies',
28 efrain 1791
                ],
66 efrain 1792
                [
1793
                    'label' => 'LABEL_COMPETENCY_TYPES',
15442 efrain 1794
                    'route' => 'jobs-description/competency-types',
66 efrain 1795
                ],
67 efrain 1796
                [
14875 efrain 1797
                    'label' => 'LABEL_BEHAVIORS',
15442 efrain 1798
                    'route' => 'jobs-description/behaviors',
14875 efrain 1799
                ],
1800
                [
67 efrain 1801
                    'label' => 'LABEL_POSITIONS',
15442 efrain 1802
                    'route' => 'jobs-description/positions',
67 efrain 1803
                ],
28 efrain 1804
            ]
779 geraldo 1805
        ],
22 steven 1806
        [
1090 geraldo 1807
            'label' => 'LABEL_PERFORMANCE_EVALUATION_MENU',
976 geraldo 1808
            'route' => 'performance-evaluation',
1809
            'class' => 'fa fa-book',
1810
            'pages' => [
1811
                [
1812
                    'label' => 'LABEL_FORMS',
1813
                    'route' => 'performance-evaluation/forms',
1814
                ],
1383 efrain 1815
 
976 geraldo 1816
                [
15442 efrain 1817
                    'label' => 'LABEL_EVALUATIONS',
1818
                    'route' => 'performance-evaluation/evaluations',
1383 efrain 1819
                ]
976 geraldo 1820
            ],
946 geraldo 1821
        ],
1321 eleazar 1822
        [
1 www 1823
            'label' => 'LABEL_PROFILE',
1824
            'route' => 'profile',
1825
            'class' => 'fa fa-picture-o'
1826
        ],
1827
        [
1828
            'label' => 'LABEL_FOLLOWERS',
1829
            'route' => 'followers',
1830
            'class' => 'fa fa-heart'
1831
        ],
1832
        [
1833
            'label' => 'LABEL_USERS',
1834
            'route' => 'users',
1835
            'class' => 'fa fa-users',
1836
        ],
1334 efrain 1837
 
1 www 1838
        [
1334 efrain 1839
            'label' => 'LABEL_OWN_PROFESSIONAL_NETWORK',
1840
            'route' => 'own-professional-network',
1841
            'class' => 'fa fa-book',
1842
        ],
1843
 
1844
        [
1845
            'label' => 'LABEL_ORGANIZATIONAL_DESIGN',
1846
            'route' =>  'organizational-design',
1847
            'class' => 'fa fa-book',
1848
        ],
1849
 
8187 nelberth 1850
 
1334 efrain 1851
        [
8187 nelberth 1852
            'label' => 'LABEL_HIGH_PERFORMANCE_TEAMS',
12397 nelberth 1853
            'route' =>  'high-performance-teams/groups',
1689 nelberth 1854
            'class' => 'fa fa-street-view',
12397 nelberth 1855
 
1334 efrain 1856
        ],
1857
        [
12397 nelberth 1858
            'label' => 'LABEL_PLANNING_OBJECTIVES_AND_GOALS',
1859
            'route' => 'planning-objectives-and-goals/objectives',
1860
            'class' => 'fa fa-book',
1861
        ],
1862
        [
1334 efrain 1863
            'label' => 'LABEL_DEVELOPMENT_AND_TRAINING',
1864
            'route' => 'development-and-training',
1865
            'class' => 'fa fa-book',
1866
        ],
1867
 
13353 eleazar 1868
        [
1869
            'label' => 'LABEL_DEVELOPMENT_AND_CONTENT',
1870
            'route' => 'development-and-content',
1871
            'class' => 'fa fa-book',
1872
            'pages' => [
1873
                [
1874
                    'label' => 'LABEL_CATEGORIES',
1875
                    'route' =>  'development-and-content/category',
1876
                ],
15028 efrain 1877
 
13353 eleazar 1878
                [
13464 eleazar 1879
                    'label' => 'LABEL_CONTENT',
15028 efrain 1880
                    'route' =>  'development-and-content/listing',
13464 eleazar 1881
                ]
13353 eleazar 1882
 
1883
            ]
1884
        ],
1334 efrain 1885
 
1886
        [
1887
            'label' => 'LABEL_RECRUITMENT_AND_SELECTION',
1477 efrain 1888
            'route' => 'recruitment-and-selection',
1334 efrain 1889
            'class' => 'fa fa-book',
1342 eleazar 1890
            'pages' => [
1891
                [
1463 eleazar 1892
                    'label' => 'LABEL_VACANCIES',
1478 eleazar 1893
                    'route' => 'recruitment-and-selection/vacancies',
1342 eleazar 1894
                ],
1459 eleazar 1895
 
1896
                [
4241 eleazar 1897
                    'label' => 'LABEL_PRE_SELECTION',
1478 eleazar 1898
                    'route' => 'recruitment-and-selection/candidates',
1709 eleazar 1899
                ],
1900
                [
1901
                    'label' => 'LABEL_INTERVIEW',
4047 eleazar 1902
                    'route' => 'recruitment-and-selection/interview/form',
1903
 
1463 eleazar 1904
                ]
1342 eleazar 1905
             ],
1334 efrain 1906
        ],
1907
 
1908
        [
1909
            'label' => 'LABEL_INDUCTION',
1910
            'route' => 'induction',
1911
            'class' => 'fa fa-book',
1912
        ],
1913
 
1914
 
1915
        [
1916
            'label' => 'LABEL_ORGANIZATIONAL_CLIMATE',
1917
            'route' => 'organizational-climate',
1918
            'class' => 'fa fa-book',
7218 eleazar 1919
            'pages' => [
1920
                [
1921
                    'label' => 'LABEL_FORMS',
1922
                    'route' => 'organizational-climate/form',
1923
                ],
1924
                [
1925
                    'label' => 'LABEL_SURVEY',
1926
                    'route' => 'organizational-climate',
1927
                ],
1928
                [
1929
                    'label' => 'LABEL_SURVEY_TEST',
1930
                    'route' => 'organizational-climate/test',
1931
                ],
1932
                [
1933
                    'label' => 'LABEL_SURVEY_REPORT',
1934
                    'route' => 'organizational-climate/report',
1935
                ],
1936
            ]
1334 efrain 1937
        ],
1938
 
1939
        [
1940
            'label' => 'LABEL_CULTURE',
1941
            'route' =>  'culture',
1942
            'class' => 'fa fa-book',
1943
        ],
1944
 
1945
        [
1946
            'label' => 'LABEL_COMMUNICATION',
13969 nelberth 1947
            'route' =>  'communication/inbox',
13012 nelberth 1948
            'class' => 'fa fa-envelope',
13770 nelberth 1949
 
1950
 
1334 efrain 1951
        ],
1952
 
1953
        [
1954
            'label' => 'LABEL_CAREER_DEVELOPMENT',
1955
            'route' =>  'career-development',
1956
            'class' => 'fa fa-book',
1957
        ],
1958
 
1959
        [
1960
            'label' => 'LABEL_SURVEYS',
4375 eleazar 1961
            'route' =>  'survey',
1334 efrain 1962
            'class' => 'fa fa-book',
4374 eleazar 1963
            'pages' => [
1964
                [
1965
                    'label' => 'LABEL_FORMS',
4375 eleazar 1966
                    'route' => 'survey/form',
4374 eleazar 1967
                ],
4579 eleazar 1968
                [
1969
                    'label' => 'LABEL_SURVEY',
1970
                    'route' => 'survey',
1971
                ],
5287 eleazar 1972
                [
1973
                    'label' => 'LABEL_SURVEY_TEST',
1974
                    'route' => 'survey/test',
1975
                ],
5823 eleazar 1976
                [
1977
                    'label' => 'LABEL_SURVEY_REPORT',
1978
                    'route' => 'survey/report',
1979
                ],
4374 eleazar 1980
            ]
1334 efrain 1981
        ],
1982
 
1983
        [
1984
            'label' => 'LABEL_BUILDING_MY_FUTURE',
1985
            'route' =>  'building-my-future',
1986
            'class' => 'fa fa-book',
1987
        ],
1988
 
1989
 
4379 nelberth 1990
 
1334 efrain 1991
        [
1992
            'label' => 'LABEL_MY_TRAINER',
1993
            'route' => 'my-trainer',
1994
            'class' => 'fa fa-book',
8462 eleazar 1995
            'pages' => [
1996
                [
8465 eleazar 1997
                    'label' => 'LABEL_CATEGORIES',
8462 eleazar 1998
                    'route' =>  'my-trainer/category',
1999
                ],
2000
                [
8464 eleazar 2001
                    'label' => 'LABEL_QUESTIONS',
8462 eleazar 2002
                    'route' => 'my-trainer/question',
2003
                ],
10778 eleazar 2004
 
8462 eleazar 2005
            ]
1334 efrain 2006
        ],
2007
 
15355 efrain 2008
        [
2009
            'label' => 'LABEL_SETTINGS',
2010
            'route' => 'settings',
2011
            'class' => 'fa fa-cog',
2012
            'pages' => [
2013
                [
2014
                    'label' => 'LABEL_PUSH_TEMPLATES',
2015
                    'route' => 'settings/push-templates',
2016
                ],
2017
            ]
2018
        ],
1334 efrain 2019
 
15387 efrain 2020
        [
2021
            'label' => 'LABEL_REPORTS',
2022
            'route' => 'settings',
2023
            'class' => 'fa fa-print',
2024
            'pages' => [
2025
                [
2026
                    'label' => 'LABEL_REPORTS_USERS_BLOCKED',
2027
                    'route' => 'reports/users-blocked',
2028
                ],
2029
            ]
2030
        ],
1336 efrain 2031
 
1334 efrain 2032
        [
1 www 2033
            'label' => 'LABEL_LOGOUT',
2034
            'route' => 'signout',
2035
            'class' => 'fa fa-sign-out',
2036
        ]
2037
    ];
2038
}