Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15079 | Rev 15149 | 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
 
15088 efrain 5
 
6
 
7
 
779 geraldo 8
function getAclResources() {
1 www 9
    return [
10
        'home',
11
        'signin-admin',
12
        'signin-company',
13
        'dashboard',
14
        'signout',
15
        'storage',
16
        'settings',
17
        'settings/company-sizes',
18
        'settings/company-sizes/add',
19
        'settings/company-sizes/edit',
20
        'settings/company-sizes/delete',
21
        'settings/competency-types',
22
        'settings/competency-types/add',
23
        'settings/competency-types/edit',
24
        'settings/competency-types/delete',
8536 efrain 25
        'settings/competency-types/import',
1102 geraldo 26
        'settings/behaviors',
27
        'settings/behaviors/add',
1138 geraldo 28
        'settings/behaviors/edit',
14279 kerby 29
        'settings/behaviors/delete',
14875 efrain 30
        'settings/behaviors/import',
1 www 31
        'settings/competencies',
32
        'settings/competencies/add',
33
        'settings/competencies/edit',
34
        'settings/competencies/delete',
28 efrain 35
        'settings/competencies/import',
1 www 36
        'settings/degrees',
37
        'settings/degrees/add',
38
        'settings/degrees/edit',
39
        'settings/degrees/delete',
40
        'settings/email-templates',
41
        'settings/email-templates/edit',
42
        'settings/push-templates',
43
        'settings/push-templates/edit',
44
        'settings/group-types',
45
        'settings/group-types/add',
46
        'settings/group-types/edit',
47
        'settings/group-types/delete',
48
        'settings/industries',
49
        'settings/industries/add',
50
        'settings/industries/edit',
51
        'settings/industries/delete',
52
        'settings/job-categories',
53
        'settings/job-categories/add',
54
        'settings/job-categories/edit',
55
        'settings/job-categories/delete',
28 efrain 56
        'settings/jobs-description',
57
        'settings/jobs-description/add',
58
        'settings/jobs-description/edit',
59
        'settings/jobs-description/delete',
561 geraldo 60
        'settings/jobs-description/report',
846 geraldo 61
        'settings/jobs-description/import',
67 efrain 62
        'settings/positions',
63
        'settings/positions/add',
64
        'settings/positions/edit',
65
        'settings/positions/delete',
1320 efrain 66
        'settings/positions/subordinates',
1 www 67
        'settings/skills',
68
        'settings/skills/add',
69
        'settings/skills/edit',
70
        'settings/skills/delete',
71
        'publications',
72
        'publications/posts',
73
        'publications/posts/add',
74
        'publications/posts/edit',
75
        'publications/posts/delete',
76
        'publications/pages',
77
        'publications/pages/add',
78
        'publications/pages/edit',
79
        'publications/pages/delete',
80
        'users',
81
        'users/change-password',
82
        'users/unblock',
83
        'users/invite',
84
        'users/accept',
85
        'users/cancel',
86
        'users/reject',
87
        'users/edit',
88
        'users/upload',
129 efrain 89
        'users/email-verify',
1 www 90
        'companies',
91
        'companies/edit',
92
        'companies/services',
93
        'companies/roles',
94
        //Company
95
        'profile',
96
        'profile/extended',
97
        'profile/cover',
98
        'profile/image',
779 geraldo 99
        'profile/header',
100
        'profile/footer',
1 www 101
        'profile/website',
102
        'profile/foundation_year',
103
        'profile/location',
104
        'profile/social-network',
105
        'profile/company-size',
106
        'profile/industry',
107
        'profile/delete',
13065 nelberth 108
 
1 www 109
        'feeds',
110
        'feeds/timeline',
10123 nelberth 111
        'feeds/onefeed',
1 www 112
        'feeds/delete',
113
        'feeds/comments',
114
        'feeds/comments/delete',
8395 nelberth 115
        'feeds/comments/answer',
116
 
117
 
1 www 118
        'feeds/add',
119
        'followers',
120
        'followers/delete',
114 efrain 121
        'self-evaluation',
122
        'self-evaluation/forms',
123
        'self-evaluation/forms/add',
124
        'self-evaluation/forms/edit',
125
        'self-evaluation/forms/delete',
115 efrain 126
        'self-evaluation/users',
127
        'self-evaluation/users/add',
128
        'self-evaluation/users/delete',
114 efrain 129
        'self-evaluation/reviews',
115 efrain 130
        'self-evaluation/reviews/edit',
470 geraldo 131
        'self-evaluation/reviews/report',
946 geraldo 132
        'performance-evaluation',
133
        'performance-evaluation/forms',
134
        'performance-evaluation/forms/add',
135
        'performance-evaluation/forms/edit',
136
        'performance-evaluation/forms/delete',
15079 efrain 137
        'performance-evaluation/forms/job-decription',
1383 efrain 138
        'performance-evaluation/evaluations',
139
        'performance-evaluation/evaluations/add',
7870 eleazar 140
        'performance-evaluation/evaluations/self',
141
        'performance-evaluation/evaluations/both',
142
        'performance-evaluation/evaluations/superviser',
8068 eleazar 143
        'performance-evaluation/evaluations/user-by-email',
1383 efrain 144
        'performance-evaluation/evaluations/edit',
145
        'performance-evaluation/evaluations/delete',
8220 eleazar 146
        'performance-evaluation/evaluations/report-self',
147
        'performance-evaluation/evaluations/report-both',
8249 eleazar 148
        'performance-evaluation/evaluations/report-superviser',
1383 efrain 149
        'performance-evaluation/evaluations/users',
150
        'performance-evaluation/evaluations/users/add',
151
        'performance-evaluation/evaluations/users/delete',
152
 
1263 geraldo 153
        'performance-evaluation/forms/report',
1320 efrain 154
        'performance-evaluation/reviews',
155
        'performance-evaluation/reviews/pdf',
1477 efrain 156
 
157
        'recruitment-and-selection',
158
        'recruitment-and-selection/vacancies',
159
        'recruitment-and-selection/vacancies/add',
160
        'recruitment-and-selection/vacancies/edit',
161
        'recruitment-and-selection/vacancies/delete',
162
        'recruitment-and-selection/candidates',
163
        'recruitment-and-selection/candidates/add',
164
        'recruitment-and-selection/candidates/edit',
165
        'recruitment-and-selection/candidates/delete',
1636 eleazar 166
        'recruitment-and-selection/user-by-email',
1710 eleazar 167
        'recruitment-and-selection/interview',
1709 eleazar 168
        'recruitment-and-selection/interview/form',
8757 eleazar 169
        'recruitment-and-selection/interview/form/file',
1709 eleazar 170
        'recruitment-and-selection/interview/form/add',
171
        'recruitment-and-selection/interview/form/edit',
172
        'recruitment-and-selection/interview/form/delete',
173
        'recruitment-and-selection/interview/report',
3587 eleazar 174
        'recruitment-and-selection/interview/vacancy',
4367 eleazar 175
        'recruitment-and-selection/interview/type',
8782 eleazar 176
        'recruitment-and-selection/interview/file',
177
        'recruitment-and-selection/interview/file/add',
178
        'recruitment-and-selection/interview/file/edit',
179
        'recruitment-and-selection/interview/file/delete',
15088 efrain 180
 
4375 eleazar 181
        'survey',
4579 eleazar 182
        'survey/add',
183
        'survey/edit',
184
        'survey/delete',
185
        'survey/segment',
4375 eleazar 186
        'survey/form',
187
        'survey/form/add',
188
        'survey/form/edit',
189
        'survey/form/delete',
5287 eleazar 190
        'survey/test',
191
        'survey/test/add',
6662 eleazar 192
        'survey/test/report',
5287 eleazar 193
        'survey/test/delete',
5823 eleazar 194
        'survey/report',
6497 eleazar 195
        'survey/report/overview',
5823 eleazar 196
        'survey/report/all',
7024 eleazar 197
        'survey/report/csv',
15088 efrain 198
 
7218 eleazar 199
        'organizational-climate',
200
        'organizational-climate/add',
201
        'organizational-climate/edit',
202
        'organizational-climate/delete',
203
        'organizational-climate/segment',
204
        'organizational-climate/form',
205
        'organizational-climate/form/add',
206
        'organizational-climate/form/edit',
207
        'organizational-climate/form/delete',
208
        'organizational-climate/test',
209
        'organizational-climate/test/add',
210
        'organizational-climate/test/report',
211
        'organizational-climate/test/delete',
212
        'organizational-climate/report',
213
        'organizational-climate/report/overview',
214
        'organizational-climate/report/all',
215
        'organizational-climate/report/csv',
15088 efrain 216
 
1 www 217
        'jobs',
218
        'jobs/add',
219
        'jobs/delete',
220
        'jobs/users-who-applied',
221
        'jobs/edit',
222
        'jobs/edit/title',
223
        'jobs/edit/status',
224
        'jobs/edit/last-date-of-application',
225
        'jobs/edit/employment-type',
226
        'jobs/edit/experience',
227
        'jobs/edit/job-category',
228
        'jobs/edit/extended',
229
        'jobs/edit/location',
230
        'jobs/edit/salary',
231
        'jobs/edit/languages',
232
        'jobs/edit/degrees',
233
        'jobs/edit/skills',
234
        'jobs/edit/how-apply',
15088 efrain 235
 
1 www 236
        'microlearning',
237
        'microlearning/overview',
238
        'microlearning/reports',
2 efrain 239
        'microlearning/reports/progress',
14610 efrain 240
        'microlearning/reports/progress-for-capsule',
2 efrain 241
        'microlearning/reports/devices',
187 efrain 242
        'microlearning/reports/comments-for-capsule',
1 www 243
        'microlearning/content',
244
        'microlearning/content/topics',
245
        'microlearning/content/topics/add',
246
        'microlearning/content/topics/edit',
247
        'microlearning/content/topics/delete',
248
        'microlearning/content/capsules',
249
        'microlearning/content/capsules/add',
250
        'microlearning/content/capsules/edit',
251
        'microlearning/content/capsules/delete',
252
        'microlearning/content/capsules/users',
253
        'microlearning/content/slides',
254
        'microlearning/content/slides/add',
255
        'microlearning/content/slides/edit',
256
        'microlearning/content/slides/delete',
257
        'microlearning/content/slides/text',
66 efrain 258
        'microlearning/content/quizzes',
259
        'microlearning/content/quizzes/add',
260
        'microlearning/content/quizzes/edit',
261
        'microlearning/content/quizzes/delete',
262
        'microlearning/content/quizzes/check',
263
        'microlearning/content/quizzes/publish',
264
        'microlearning/content/quizzes/copy',
265
        'microlearning/content/quizzes/questions',
266
        'microlearning/content/quizzes/questions/add',
267
        'microlearning/content/quizzes/questions/edit',
268
        'microlearning/content/quizzes/questions/delete',
269
        'microlearning/content/quizzes/questions/answers',
270
        'microlearning/content/quizzes/questions/answers/add',
271
        'microlearning/content/quizzes/questions/answers/edit',
272
        'microlearning/content/quizzes/questions/answers/delete',
1 www 273
        'microlearning/access-for-students',
274
        'microlearning/access-for-students/revoke',
275
        'microlearning/access-for-students/unlimit',
276
        'microlearning/access-for-students/cancel',
277
        'microlearning/access-for-students/reactive',
278
        'microlearning/access-for-students/upload',
279
        'microlearning/access-for-students/notification',
280
        'microlearning/students',
281
        'microlearning/students/edit',
282
        'microlearning/students/timeline',
283
        'microlearning/students/change-password',
284
        'microlearning/students/unblock',
285
        'microlearning/settings',
286
        'microlearning/settings/student-types',
287
        'microlearning/settings/student-types/add',
288
        'microlearning/settings/student-types/edit',
289
        'microlearning/settings/student-types/delete',
290
        'microlearning/settings/functions',
291
        'microlearning/settings/functions/add',
292
        'microlearning/settings/functions/edit',
293
        'microlearning/settings/functions/delete',
294
        'microlearning/settings/sectors',
295
        'microlearning/settings/sectors/add',
296
        'microlearning/settings/sectors/edit',
297
        'microlearning/settings/sectors/delete',
298
        'microlearning/settings/programs',
299
        'microlearning/settings/programs/add',
300
        'microlearning/settings/programs/edit',
301
        'microlearning/settings/programs/delete',
302
        'microlearning/settings/groups',
303
        'microlearning/settings/groups/add',
304
        'microlearning/settings/groups/edit',
305
        'microlearning/settings/groups/delete',
306
        'microlearning/settings/companies',
307
        'microlearning/settings/companies/add',
308
        'microlearning/settings/companies/edit',
309
        'microlearning/settings/companies/delete',
310
        'microlearning/settings/partners',
311
        'microlearning/settings/partners/add',
312
        'microlearning/settings/partners/edit',
313
        'microlearning/settings/partners/delete',
314
        'microlearning/settings/institutions',
315
        'microlearning/settings/institutions/add',
316
        'microlearning/settings/institutions/edit',
317
        'microlearning/settings/institutions/delete',
15088 efrain 318
 
1333 efrain 319
        'own-professional-network',
320
        'organizational-design',
321
        'planning-objectives-and-goals',
2228 nelberth 322
        'planning-objectives-and-goals/objectives',
3462 nelberth 323
        'planning-objectives-and-goals/objectives/report',
3988 nelberth 324
        'planning-objectives-and-goals/objectives/reportall',
4041 nelberth 325
        'planning-objectives-and-goals/objectives/matriz',
2331 nelberth 326
        'planning-objectives-and-goals/objectives/goals',
2379 nelberth 327
        'planning-objectives-and-goals/objectives/goals/add',
328
        'planning-objectives-and-goals/objectives/goals/edit',
329
        'planning-objectives-and-goals/objectives/goals/delete',
2517 nelberth 330
        'planning-objectives-and-goals/objectives/goals/task',
331
        'planning-objectives-and-goals/objectives/goals/task/add',
332
        'planning-objectives-and-goals/objectives/goals/task/edit',
333
        'planning-objectives-and-goals/objectives/goals/task/delete',
2822 nelberth 334
        'planning-objectives-and-goals/objectives/goals/task/view',
2228 nelberth 335
        'planning-objectives-and-goals/objectives/add',
336
        'planning-objectives-and-goals/objectives/delete',
337
        'planning-objectives-and-goals/objectives/edit',
4589 nelberth 338
 
4535 nelberth 339
        'high-performance-teams',
7222 nelberth 340
        'high-performance-teams/groups',
7228 nelberth 341
        'high-performance-teams/groups/add',
342
        'high-performance-teams/groups/edit',
343
        'high-performance-teams/groups/delete',
7233 nelberth 344
        'high-performance-teams/groups/view',
11902 nelberth 345
        'high-performance-teams/groups/view/feeds',
346
        'high-performance-teams/groups/view/feeds/timeline',
347
        'high-performance-teams/groups/view/feeds/onefeed',
348
        'high-performance-teams/groups/view/feeds/delete',
349
        'high-performance-teams/groups/view/feeds/comments',
350
        'high-performance-teams/groups/view/feeds/comments/delete',
351
        'high-performance-teams/groups/view/feeds/comments/answer',
352
        'high-performance-teams/groups/view/feeds/add',
7484 nelberth 353
        'high-performance-teams/groups/view/topic',
354
        'high-performance-teams/groups/view/topic/add',
355
        'high-performance-teams/groups/view/topic/edit',
356
        'high-performance-teams/groups/view/topic/delete',
7637 nelberth 357
        'high-performance-teams/groups/view/topic/view',
8687 nelberth 358
        'high-performance-teams/groups/view/urgent',
9096 nelberth 359
        'high-performance-teams/groups/view/calendar',
9923 nelberth 360
        'high-performance-teams/groups/view/calendar/view',
10143 nelberth 361
        'high-performance-teams/groups/view/foro',
362
        'high-performance-teams/groups/view/foro/view',
9619 nelberth 363
        'high-performance-teams/groups/view/foro/categories',
9635 nelberth 364
        'high-performance-teams/groups/view/foro/categories/add',
365
        'high-performance-teams/groups/view/foro/categories/delete',
366
        'high-performance-teams/groups/view/foro/categories/edit',
367
        'high-performance-teams/groups/view/foro/categories/view',
9760 nelberth 368
        'high-performance-teams/groups/view/foro/categories/articles',
9845 nelberth 369
        'high-performance-teams/groups/view/foro/categories/articles/add',
370
        'high-performance-teams/groups/view/foro/categories/articles/edit',
371
        'high-performance-teams/groups/view/foro/categories/articles/delete',
372
        'high-performance-teams/groups/view/foro/categories/articles/view',
12407 nelberth 373
        'high-performance-teams/groups/view/objectives',
374
        'high-performance-teams/groups/view/objectives/report',
375
        'high-performance-teams/groups/view/objectives/reportall',
376
        'high-performance-teams/groups/view/objectives/matriz',
377
        'high-performance-teams/groups/view/objectives/goals',
378
        'high-performance-teams/groups/view/objectives/goals/add',
379
        'high-performance-teams/groups/view/objectives/goals/edit',
380
        'high-performance-teams/groups/view/objectives/goals/delete',
381
        'high-performance-teams/groups/view/objectives/goals/task',
382
        'high-performance-teams/groups/view/objectives/goals/task/add',
383
        'high-performance-teams/groups/view/objectives/goals/task/edit',
384
        'high-performance-teams/groups/view/objectives/goals/task/delete',
385
        'high-performance-teams/groups/view/objectives/goals/task/view',
386
        'high-performance-teams/groups/view/objectives/add',
387
        'high-performance-teams/groups/view/objectives/delete',
388
        'high-performance-teams/groups/view/objectives/edit',
9424 nelberth 389
 
8633 nelberth 390
 
11342 nelberth 391
 
7812 nelberth 392
        'high-performance-teams/groups/view/members',
8012 nelberth 393
        'high-performance-teams/groups/view/members/invite',
7813 nelberth 394
        'high-performance-teams/groups/view/members/delete',
10289 nelberth 395
        'high-performance-teams/groups/view/members/edit',
11430 nelberth 396
 
11342 nelberth 397
        'chat',
398
        'chat/heart-beat',
399
        'chat/create-group',
400
        'chat/add-user-to-group',
401
        'chat/mark-seen',
402
        'chat/mark-received',
403
        'chat/remove-user-from-group',
404
        'chat/get-all-messages',
405
        'chat/send',
406
        'chat/get-contacts-availables-for-group',
407
        'chat/get-contact-group-list',
408
        'chat/leave-group',
409
        'chat/delete-group',
410
        'chat/close',
411
        'chat/clear',
14692 efrain 412
        'chat/open',
11342 nelberth 413
        'chat/upload',
11430 nelberth 414
        'csrf',
7481 nelberth 415
 
7255 nelberth 416
 
4588 nelberth 417
 
418
 
1333 efrain 419
        'development-and-training',
13353 eleazar 420
 
421
        'development-and-content',
15028 efrain 422
        'development-and-content/listing',
13353 eleazar 423
        'development-and-content/feed',
424
        'development-and-content/comments',
425
        'development-and-content/comments/delete',
426
        'development-and-content/comment/answer',
427
        'development-and-content/category',
428
        'development-and-content/category/add',
429
        'development-and-content/category/edit',
430
        'development-and-content/category/delete',
14743 kerby 431
        'development-and-content/add',
432
        'development-and-content/delete',
433
        'development-and-content/aproved',
434
        'development-and-content/edit',
435
        'development-and-content/categories',
1333 efrain 436
        'induction',
13524 nelberth 437
 
1333 efrain 438
        'culture',
13524 nelberth 439
 
440
        'inmail',
441
        'inmail/search-people',
14989 efrain 442
        'inmail/view',
13553 nelberth 443
        'inmail/view/message',
14989 efrain 444
        'inmail/view/message/send',
13771 nelberth 445
        'inmail/sendall',
14989 efrain 446
 
13553 nelberth 447
 
13778 nelberth 448
        'inmail/company',
449
        'inmail/company/message',
450
        'inmail/company/message/send',
451
 
1333 efrain 452
        'communication',
13675 nelberth 453
        'communication/inbox',
13731 nelberth 454
        'communication/inbox/sendall',
13675 nelberth 455
        'communication/inbox/search-people',
456
        'communication/inbox/view/message',
457
        'communication/inbox/view',
458
        'communication/inbox/view/message/send',
13525 nelberth 459
 
460
 
1333 efrain 461
        'career-development',
462
        'building-my-future',
4410 nelberth 463
 
4391 nelberth 464
        'my-trainer',
8462 eleazar 465
        'my-trainer/category',
466
        'my-trainer/category/add',
467
        'my-trainer/category/edit',
468
        'my-trainer/category/delete',
469
        'my-trainer/question',
470
        'my-trainer/question/add',
471
        'my-trainer/question/edit',
472
        'my-trainer/question/delete',
11168 eleazar 473
        'my-trainer/question/view',
11842 eleazar 474
        'my-trainer/question/answer',
475
        'my-trainer/question/answer/add',
476
        'my-trainer/question/answer/edit',
477
        'my-trainer/question/answer/delete',
11873 eleazar 478
        'my-trainer/question/answer/feed',
11921 eleazar 479
        'my-trainer/question/answer/timeline',
11842 eleazar 480
        'my-trainer/question/answer/comments',
481
        'my-trainer/question/answer/comments/delete',
482
        'my-trainer/question/answer/comments/answer',
1 www 483
    ];
484
}
485
 
779 geraldo 486
function getAclRolesCompany() {
1 www 487
    return [
1336 efrain 488
 
15088 efrain 489
 
490
 
4 efrain 491
        'company-creator' => [
492
            'home',
493
            'signin-admin',
494
            'signin-company',
495
            'dashboard',
496
            'signout',
497
            'storage',
498
            'profile',
499
            'profile/extended',
500
            'profile/cover',
779 geraldo 501
            'profile/header',
502
            'profile/footer',
4 efrain 503
            'profile/image',
504
            'profile/website',
505
            'profile/foundation_year',
506
            'profile/location',
507
            'profile/social-network',
508
            'profile/company-size',
509
            'profile/industry',
510
            'profile/delete',
511
            'users',
512
            'users/change-password',
513
            'users/unblock',
514
            'users/invite',
515
            'users/accept',
516
            'users/cancel',
517
            'users/reject',
518
            'users/edit',
519
            'users/upload',
520
            'feeds',
521
            'followers',
522
            'followers/delete',
523
            'jobs',
524
            'jobs/add',
525
            'jobs/delete',
526
            'jobs/users-who-applied',
527
            'jobs/edit',
15088 efrain 528
            'jobs/edit/title',
529
            'jobs/edit/status',
4 efrain 530
            'jobs/edit/last-date-of-application',
531
            'jobs/edit/employment-type',
532
            'jobs/edit/experience',
533
            'jobs/edit/job-category',
534
            'jobs/edit/extended',
535
            'jobs/edit/location',
536
            'jobs/edit/salary',
537
            'jobs/edit/languages',
538
            'jobs/edit/degrees',
539
            'jobs/edit/skills',
540
            'jobs/edit/how-apply',
1953 nelberth 541
 
14610 efrain 542
            'chat',
543
            'chat/heart-beat',
544
            'chat/create-group',
545
            'chat/add-user-to-group',
546
            'chat/mark-seen',
547
            'chat/mark-received',
548
            'chat/remove-user-from-group',
549
            'chat/get-all-messages',
550
            'chat/send',
551
            'chat/get-contacts-availables-for-group',
552
            'chat/get-contact-group-list',
553
            'chat/leave-group',
554
            'chat/delete-group',
555
            'chat/close',
556
            'chat/clear',
14692 efrain 557
            'chat/open',
14610 efrain 558
            'chat/upload',
14692 efrain 559
 
14610 efrain 560
            'csrf',
561
 
562
 
4 efrain 563
        ],
1 www 564
        'company-admin' => [
565
            'home',
566
            'signin-admin',
567
            'signin-company',
568
            'dashboard',
569
            'signout',
570
            'storage',
571
            'profile',
572
            'profile/extended',
573
            'profile/cover',
574
            'profile/image',
779 geraldo 575
            'profile/header',
576
            'profile/footer',
1 www 577
            'profile/website',
578
            'profile/foundation_year',
579
            'profile/location',
580
            'profile/social-network',
581
            'profile/company-size',
582
            'profile/industry',
583
            'profile/delete',
584
            'users',
585
            'users/change-password',
586
            'users/unblock',
587
            'users/invite',
588
            'users/accept',
589
            'users/cancel',
590
            'users/reject',
591
            'users/edit',
592
            'users/upload',
593
            'feeds',
594
            'followers',
595
            'followers/delete',
596
            'jobs',
597
            'jobs/add',
598
            'jobs/delete',
599
            'jobs/users-who-applied',
600
            'jobs/edit',
15088 efrain 601
            'jobs/edit/title',
602
            'jobs/edit/status',
1 www 603
            'jobs/edit/last-date-of-application',
604
            'jobs/edit/employment-type',
605
            'jobs/edit/experience',
606
            'jobs/edit/job-category',
607
            'jobs/edit/extended',
608
            'jobs/edit/location',
609
            'jobs/edit/salary',
610
            'jobs/edit/languages',
611
            'jobs/edit/degrees',
612
            'jobs/edit/skills',
613
            'jobs/edit/how-apply',
614
        ],
615
        'company-password-unblock' => [
616
            'home',
617
            'signin-admin',
618
            'signin-company',
619
            'dashboard',
620
            'signout',
621
            'storage',
622
            'users',
623
            'users/change-password',
624
            'users/unblock',
15088 efrain 625
 
1 www 626
        ],
627
        'microlearning-admin' => [
628
            'home',
629
            'signin-admin',
630
            'signin-company',
631
            'dashboard',
632
            'signout',
633
            'storage',
634
            'microlearning',
635
            'microlearning/overview',
187 efrain 636
            'microlearning/reports',
637
            'microlearning/reports/progress',
14610 efrain 638
            'microlearning/reports/progress-for-capsule',
187 efrain 639
            'microlearning/reports/devices',
640
            'microlearning/reports/comments-for-capsule',
1 www 641
            'microlearning/content',
642
            'microlearning/content/topics',
643
            'microlearning/content/topics/add',
644
            'microlearning/content/topics/edit',
645
            'microlearning/content/topics/delete',
646
            'microlearning/content/capsules',
647
            'microlearning/content/capsules/add',
648
            'microlearning/content/capsules/edit',
649
            'microlearning/content/capsules/delete',
650
            'microlearning/content/capsules/users',
651
            'microlearning/content/slides',
652
            'microlearning/content/slides/add',
653
            'microlearning/content/slides/edit',
654
            'microlearning/content/slides/delete',
655
            'microlearning/content/slides/text',
656
            'microlearning/students',
657
            'microlearning/students/edit',
658
            'microlearning/students/timeline',
659
            'microlearning/access-for-students',
660
            'microlearning/access-for-students/revoke',
661
            'microlearning/access-for-students/unlimit',
662
            'microlearning/access-for-students/cancel',
663
            'microlearning/access-for-students/reactive',
664
            'microlearning/access-for-students/upload',
665
            'microlearning/access-for-students/notification',
666
            'microlearning/settings',
667
            'microlearning/settings/student-types',
668
            'microlearning/settings/student-types/add',
669
            'microlearning/settings/student-types/edit',
670
            'microlearning/settings/student-types/delete',
671
            'microlearning/settings/functions',
672
            'microlearning/settings/functions/add',
673
            'microlearning/settings/functions/edit',
674
            'microlearning/settings/functions/delete',
675
            'microlearning/settings/sectors',
676
            'microlearning/settings/sectors/add',
677
            'microlearning/settings/sectors/edit',
678
            'microlearning/settings/sectors/delete',
679
            'microlearning/settings/programs',
680
            'microlearning/settings/programs/add',
681
            'microlearning/settings/programs/edit',
682
            'microlearning/settings/programs/delete',
683
            'microlearning/settings/groups',
684
            'microlearning/settings/groups/add',
685
            'microlearning/settings/groups/edit',
686
            'microlearning/settings/groups/delete',
687
            'microlearning/settings/companies',
688
            'microlearning/settings/companies/add',
689
            'microlearning/settings/companies/edit',
690
            'microlearning/settings/companies/delete',
691
            'microlearning/settings/partners',
692
            'microlearning/settings/partners/add',
693
            'microlearning/settings/partners/edit',
694
            'microlearning/settings/partners/delete',
695
            'microlearning/settings/institutions',
696
            'microlearning/settings/institutions/add',
697
            'microlearning/settings/institutions/edit',
698
            'microlearning/settings/institutions/delete',
699
        ],
700
        'microlearning-editor' => [
701
            'home',
702
            'signin-admin',
703
            'signin-company',
704
            'dashboard',
705
            'signout',
706
            'storage',
707
            'microlearning',
708
            'microlearning/content',
709
            'microlearning/content/topics',
710
            'microlearning/content/topics/add',
711
            'microlearning/content/topics/edit',
712
            'microlearning/content/topics/delete',
713
            'microlearning/content/capsules',
714
            'microlearning/content/capsules/add',
715
            'microlearning/content/capsules/edit',
716
            'microlearning/content/capsules/delete',
717
            'microlearning/content/capsules/users',
718
            'microlearning/content/slides',
719
            'microlearning/content/slides/add',
720
            'microlearning/content/slides/edit',
721
            'microlearning/content/slides/delete',
722
            'microlearning/content/slides/text',
723
            'microlearning/access-for-students',
724
            'microlearning/access-for-students/revoke',
725
            'microlearning/access-for-students/unlimit',
726
            'microlearning/access-for-students/cancel',
727
            'microlearning/access-for-students/reactive',
728
            'microlearning/access-for-students/upload',
729
            'microlearning/access-for-students/notification',
730
        ],
731
        'microlearning-students-password-unblock' => [
732
            'home',
733
            'signin-admin',
734
            'signin-company',
735
            'dashboard',
736
            'signout',
737
            'storage',
738
            'microlearning',
739
            'microlearning/students',
740
            'microlearning/students/change-password',
741
            'microlearning/students/unblock',
742
        ],
743
        'self-evaluation-admin' => [
114 efrain 744
            'self-evaluation',
745
            'self-evaluation/forms',
746
            'self-evaluation/forms/add',
747
            'self-evaluation/forms/edit',
748
            'self-evaluation/forms/delete',
115 efrain 749
            'self-evaluation/users',
750
            'self-evaluation/users/add',
751
            'self-evaluation/users/delete',
114 efrain 752
            'self-evaluation/reviews',
115 efrain 753
            'self-evaluation/reviews/edit',
470 geraldo 754
            'self-evaluation/reviews/report',
1 www 755
        ],
15088 efrain 756
        'self-evaluation-reviews' => [
757
            'self-evaluation',
758
            'self-evaluation/reviews',
759
            'self-evaluation/reviews/edit',
760
            'self-evaluation/reviews/report',
761
        ],
975 geraldo 762
        'performance-evaluation-admin' => [
15088 efrain 763
            'settings',
764
            'settings/positions',
765
            'settings/positions/add',
766
            'settings/positions/edit',
767
            'settings/positions/delete',
768
            'settings/positions/subordinates',
769
 
770
            'settings/behaviors',
771
            'settings/behaviors/add',
772
            'settings/behaviors/edit',
773
            'settings/behaviors/delete',
774
            'settings/behaviors/import',
775
            'settings/competencies',
776
            'settings/competencies/add',
777
            'settings/competencies/edit',
778
            'settings/competencies/delete',
779
            'settings/competencies/import',
780
 
781
            'settings/competency-types',
782
            'settings/competency-types/add',
783
            'settings/competency-types/edit',
784
            'settings/competency-types/delete',
785
            'settings/competency-types/import',
786
 
787
            'settings/jobs-description',
788
            'settings/jobs-description/add',
789
            'settings/jobs-description/edit',
790
            'settings/jobs-description/delete',
791
            'settings/jobs-description/report',
792
            'settings/jobs-description/import',
793
 
975 geraldo 794
            'performance-evaluation',
795
            'performance-evaluation/forms',
796
            'performance-evaluation/forms/add',
797
            'performance-evaluation/forms/edit',
798
            'performance-evaluation/forms/delete',
15079 efrain 799
            'performance-evaluation/forms/job-decription',
1263 geraldo 800
            'performance-evaluation/forms/report',
1320 efrain 801
            'performance-evaluation/reviews',
802
            'performance-evaluation/reviews/pdf',
1383 efrain 803
            'performance-evaluation/evaluations',
804
            'performance-evaluation/evaluations/add',
7870 eleazar 805
            'performance-evaluation/evaluations/self',
806
            'performance-evaluation/evaluations/both',
807
            'performance-evaluation/evaluations/superviser',
15088 efrain 808
            'performance-evaluation/evaluations/user-by-email',
1383 efrain 809
            'performance-evaluation/evaluations/delete',
8220 eleazar 810
            'performance-evaluation/evaluations/report-self',
811
            'performance-evaluation/evaluations/report-both',
15088 efrain 812
            'performance-evaluation/evaluations/report-superviser',
1383 efrain 813
            'performance-evaluation/evaluations/users',
814
            'performance-evaluation/evaluations/users/add',
815
            'performance-evaluation/evaluations/users/delete',
15088 efrain 816
        ],
817
 
818
 
819
        'performance-evaluation-editor' => [
820
            'performance-evaluation',
821
            'performance-evaluation/forms',
822
            'performance-evaluation/forms/add',
823
            'performance-evaluation/forms/edit',
824
            'performance-evaluation/forms/delete',
825
            'performance-evaluation/forms/job-decription',
826
            'performance-evaluation/forms/report',
827
            'performance-evaluation/reviews',
828
            'performance-evaluation/reviews/pdf',
829
            'performance-evaluation/evaluations',
830
            'performance-evaluation/evaluations/add',
831
            'performance-evaluation/evaluations/self',
832
            'performance-evaluation/evaluations/both',
833
            'performance-evaluation/evaluations/superviser',
834
            'performance-evaluation/evaluations/delete',
835
            'performance-evaluation/evaluations/report-self',
836
            'performance-evaluation/evaluations/report-both',
837
            'performance-evaluation/evaluations/report-superviser',
838
            'performance-evaluation/evaluations/users',
839
            'performance-evaluation/evaluations/users/add',
840
            'performance-evaluation/evaluations/users/delete',
1383 efrain 841
 
975 geraldo 842
        ],
15088 efrain 843
        'recruitment-and-selection-admin' => [
844
            'settings',
845
            'settings/positions',
846
            'settings/positions/add',
847
            'settings/positions/edit',
848
            'settings/positions/delete',
849
            'settings/positions/subordinates',
850
 
851
            'settings/behaviors',
852
            'settings/behaviors/add',
853
            'settings/behaviors/edit',
854
            'settings/behaviors/delete',
855
            'settings/behaviors/import',
856
            'settings/competencies',
857
            'settings/competencies/add',
858
            'settings/competencies/edit',
859
            'settings/competencies/delete',
860
            'settings/competencies/import',
861
 
862
            'settings/competency-types',
863
            'settings/competency-types/add',
864
            'settings/competency-types/edit',
865
            'settings/competency-types/delete',
866
            'settings/competency-types/import',
867
 
868
            'settings/jobs-description',
869
            'settings/jobs-description/add',
870
            'settings/jobs-description/edit',
871
            'settings/jobs-description/delete',
872
            'settings/jobs-description/report',
873
            'settings/jobs-description/import',
874
 
875
            'recruitment-and-selection',
876
            'recruitment-and-selection/vacancies',
877
            'recruitment-and-selection/vacancies/add',
878
            'recruitment-and-selection/vacancies/edit',
879
            'recruitment-and-selection/vacancies/delete',
880
            'recruitment-and-selection/candidates',
881
            'recruitment-and-selection/candidates/add',
882
            'recruitment-and-selection/candidates/edit',
883
            'recruitment-and-selection/candidates/delete',
884
            'recruitment-and-selection/user-by-email',
885
            'recruitment-and-selection/interview',
886
            'recruitment-and-selection/interview/form',
887
            'recruitment-and-selection/interview/form/add',
888
            'recruitment-and-selection/interview/form/edit',
889
            'recruitment-and-selection/interview/form/delete',
890
            'recruitment-and-selection/interview/report',
891
            'recruitment-and-selection/interview/vacancy',
892
            'recruitment-and-selection/interview/type',
893
            'recruitment-and-selection/interview/file',
894
            'recruitment-and-selection/interview/file/add',
895
            'recruitment-and-selection/interview/file/edit',
896
            'recruitment-and-selection/interview/file/delete',
897
        ],
898
 
899
        'recruitment-and-selection-editor' => [
900
            'recruitment-and-selection',
901
            'recruitment-and-selection/vacancies',
902
            'recruitment-and-selection/vacancies/add',
903
            'recruitment-and-selection/vacancies/edit',
904
            'recruitment-and-selection/vacancies/delete',
905
            'recruitment-and-selection/candidates',
906
            'recruitment-and-selection/candidates/add',
907
            'recruitment-and-selection/candidates/edit',
908
            'recruitment-and-selection/candidates/delete',
909
            'recruitment-and-selection/user-by-email',
910
            'recruitment-and-selection/interview',
911
            'recruitment-and-selection/interview/form',
912
            'recruitment-and-selection/interview/form/add',
913
            'recruitment-and-selection/interview/form/edit',
914
            'recruitment-and-selection/interview/form/delete',
915
            'recruitment-and-selection/interview/report',
916
            'recruitment-and-selection/interview/vacancy',
917
            'recruitment-and-selection/interview/type',
918
            'recruitment-and-selection/interview/file',
919
            'recruitment-and-selection/interview/file/add',
920
            'recruitment-and-selection/interview/file/edit',
921
            'recruitment-and-selection/interview/file/delete',
922
        ],
779 geraldo 923
    ];
1 www 924
}
925
 
779 geraldo 926
function getAclUsertype() {
1 www 927
    return [
928
        UserType::ADMIN => [
929
            'home',
930
            'signin-admin',
931
            'signin-company',
932
            'dashboard',
933
            'signout',
934
            'storage',
935
            'settings',
936
            'settings/company-sizes',
937
            'settings/company-sizes/add',
938
            'settings/company-sizes/edit',
939
            'settings/company-sizes/delete',
940
            'settings/competency-types',
941
            'settings/competency-types/add',
942
            'settings/competency-types/edit',
943
            'settings/competency-types/delete',
1102 geraldo 944
            'settings/behaviors',
945
            'settings/behaviors/add',
1138 geraldo 946
            'settings/behaviors/edit',
1 www 947
            'settings/competencies',
948
            'settings/competencies/add',
949
            'settings/competencies/edit',
950
            'settings/competencies/delete',
951
            'settings/degrees',
952
            'settings/degrees/add',
953
            'settings/degrees/edit',
954
            'settings/degrees/delete',
955
            'settings/email-templates',
956
            'settings/email-templates/edit',
957
            'settings/push-templates',
958
            'settings/push-templates/edit',
959
            'settings/group-types',
960
            'settings/group-types/add',
961
            'settings/group-types/edit',
962
            'settings/group-types/delete',
963
            'settings/industries',
964
            'settings/industries/add',
965
            'settings/industries/edit',
966
            'settings/industries/delete',
967
            'settings/job-categories',
968
            'settings/job-categories/add',
969
            'settings/job-categories/edit',
970
            'settings/job-categories/delete',
838 geraldo 971
            'settings/jobs-description',
972
            'settings/jobs-description/add',
973
            'settings/jobs-description/edit',
974
            'settings/jobs-description/delete',
1 www 975
            'settings/skills',
976
            'settings/skills/add',
977
            'settings/skills/edit',
978
            'settings/skills/delete',
979
            'publications',
980
            'publications/posts',
981
            'publications/posts/add',
982
            'publications/posts/edit',
983
            'publications/posts/delete',
984
            'publications/pages',
985
            'publications/pages/add',
986
            'publications/pages/edit',
987
            'publications/pages/delete',
988
            'companies',
989
            'companies/edit',
990
            'companies/services',
991
            'companies/roles',
14610 efrain 992
 
993
 
994
 
1 www 995
            'users',
996
            'users/change-password',
997
            'users/unblock',
129 efrain 998
            'users/email-verify',
14587 efrain 999
 
1000
            'chat/heart-beat',
1001
            'chat/create-group',
1002
            'chat/add-user-to-group',
1003
            'chat/mark-seen',
1004
            'chat/mark-received',
1005
            'chat/remove-user-from-group',
1006
            'chat/get-all-messages',
1007
            'chat/send',
1008
            'chat/get-contacts-availables-for-group',
1009
            'chat/get-contact-group-list',
1010
            'chat/leave-group',
1011
            'chat/delete-group',
1012
            'chat/close',
1013
            'chat/clear',
14692 efrain 1014
            'chat/open',
14587 efrain 1015
            'chat/upload',
14691 efrain 1016
            'csrf',
14587 efrain 1017
 
1 www 1018
        ],
1019
        UserType::USER => [
1020
            'home',
1021
            'signin-admin',
1022
            'signin-company',
1023
            'dashboard',
1024
            'signout',
1025
            'storage',
14610 efrain 1026
 
15088 efrain 1027
            'home',
1028
            'signin-admin',
1029
            'signin-company',
1030
            'dashboard',
1031
            'signout',
1032
            'storage',
1033
 
14587 efrain 1034
            'chat',
1035
            'chat/heart-beat',
1036
            'chat/create-group',
1037
            'chat/add-user-to-group',
1038
            'chat/mark-seen',
1039
            'chat/mark-received',
1040
            'chat/remove-user-from-group',
1041
            'chat/get-all-messages',
1042
            'chat/send',
1043
            'chat/get-contacts-availables-for-group',
1044
            'chat/get-contact-group-list',
1045
            'chat/leave-group',
1046
            'chat/delete-group',
1047
            'chat/close',
1048
            'chat/clear',
14692 efrain 1049
            'chat/open',
14588 efrain 1050
            'chat/upload',
14691 efrain 1051
            'csrf',
14610 efrain 1052
 
1053
 
1 www 1054
        ],
1055
        UserType::GUEST => [
1056
            'home',
1057
            'signin-admin',
1058
            'signin-company',
1059
            'signout',
1916 nelberth 1060
 
8536 efrain 1061
 
1 www 1062
        ],
1063
    ];
1064
}
1065
 
779 geraldo 1066
function getAclMenuSystem() {
1 www 1067
    return [
1068
        [
1069
            'label' => 'LABEL_HOME',
1070
            'route' => 'dashboard',
1071
            'class' => 'fa fa-home'
1072
        ],
1073
        [
1074
            'label' => 'LABEL_COMPANIES',
1075
            'route' => 'companies',
1076
            'class' => 'fa fa-building',
1077
        ],
1078
        [
1079
            'label' => 'LABEL_SETTINGS',
1080
            'route' => 'settings',
1081
            'class' => 'fa fa-cog',
1082
            'pages' => [
1083
                [
1084
                    'label' => 'LABEL_JOB_CATEGORIES',
1085
                    'route' => 'settings/job-categories',
1086
                ],
1087
                [
1088
                    'label' => 'LABEL_COMPETENCIES',
1089
                    'route' => 'settings/competencies',
1090
                ],
1091
                [
14875 efrain 1092
                    'label' => 'LABEL_BEHAVIORS',
1093
                    'route' => 'settings/behaviors',
1094
                ],
1095
                [
1 www 1096
                    'label' => 'LABEL_EMAIL_TEMPLATES',
1097
                    'route' => 'settings/email-templates',
1098
                ],
1099
                [
1100
                    'label' => 'LABEL_PUSH_TEMPLATES',
1101
                    'route' => 'settings/push-templates',
1102
                ],
1103
                [
1104
                    'label' => 'LABEL_DEGREES',
1105
                    'route' => 'settings/degrees',
1106
                ],
1107
                [
1108
                    'label' => 'LABEL_SKILLS',
1109
                    'route' => 'settings/skills',
1110
                ],
1111
                [
1112
                    'label' => 'LABEL_INDUSTRIES',
1113
                    'route' => 'settings/industries',
1114
                ],
1115
                [
837 geraldo 1116
                    'label' => 'LABEL_JOBS_DESCRIPTION',
836 geraldo 1117
                    'route' => 'settings/jobs-description',
1118
                ],
1119
                [
1 www 1120
                    'label' => 'LABEL_COMPANY_SIZES',
1121
                    'route' => 'settings/company-sizes',
1122
                ],
1123
                [
1124
                    'label' => 'LABEL_COMPETENCY_TYPES',
1125
                    'route' => 'settings/competency-types',
1126
                ],
1127
                [
1128
                    'label' => 'LABEL_GROUP_TYPES',
1129
                    'route' => 'settings/group-types',
1130
                ],
1131
            ]
1132
        ],
1133
        [
1134
            'label' => 'LABEL_PUBLICATIONS',
1135
            'route' => 'publications',
1136
            'class' => 'fa fa-book',
1137
            'pages' => [
1138
                [
1139
                    'label' => 'LABEL_PAGES',
1140
                    'route' => 'publications/pages',
1141
                ],
1142
                [
1143
                    'label' => 'LABEL_POSTS',
1144
                    'route' => 'publications/posts',
1145
                ],
1146
            ]
1147
        ],
1148
        [
1149
            'label' => 'LABEL_USERS',
1150
            'route' => 'users',
1151
            'class' => 'fa fa-users',
779 geraldo 1152
        /* 'pages' => [
1153
          [
1154
          'label' => 'LABEL_PAGES',
1155
          'route' => 'publications/pages',
1156
          ],
1157
 
1158
          ] */
1 www 1159
        ],
1333 efrain 1160
 
1161
 
1162
 
1163
 
1164
        [
1 www 1165
            'label' => 'LABEL_LOGOUT',
1166
            'route' => 'signout',
1167
            'class' => 'fa fa-sign-out',
1168
        ]
779 geraldo 1169
    ];
1 www 1170
}
1171
 
779 geraldo 1172
function getAclMenuCompany() {
1173
 
1 www 1174
    return [
1175
        [
1176
            'label' => 'LABEL_HOME',
1177
            'route' => 'dashboard',
1178
            'class' => 'fa fa-home'
1179
        ],
1180
        [
1181
            'label' => 'LABEL_JOBS',
1182
            'route' => 'jobs',
1183
            'class' => 'fa fa-briefcase'
1184
        ],
1185
        [
1186
            'label' => 'LABEL_FEEDS',
1187
            'route' => 'feeds',
1188
            'class' => 'fa fa-rss'
1189
        ],
114 efrain 1190
        [
13672 nelberth 1191
            'label' => 'LABEL_INMAIL',
13524 nelberth 1192
            'route' => 'inmail',
13487 nelberth 1193
            'class' => 'fa fa-envelope-o'
1194
        ],
1195
 
1196
        [
114 efrain 1197
            'label' => 'LABEL_SELF_EVALUATION',
1198
            'route' => 'self-evaluation',
1199
            'class' => 'fa fa-book',
1200
            'pages' => [
1201
                [
1202
                    'label' => 'LABEL_FORMS',
1203
                    'route' => 'self-evaluation/forms',
1204
                ],
115 efrain 1205
                [
1206
                    'label' => 'LABEL_USERS',
1207
                    'route' => 'self-evaluation/users',
246 geraldo 1208
                ],
1209
                [
1210
                    'label' => 'LABEL_REVIEWS',
1211
                    'route' => 'self-evaluation/reviews',
245 geraldo 1212
                ]
779 geraldo 1213
            ],
1214
        ],
1 www 1215
        [
1216
            'label' => 'LABEL_MICRO_LEARNING',
1217
            'route' => 'microlearning',
1218
            'class' => 'fa fa-book',
1219
            'pages' => [
1220
                [
1221
                    'label' => 'LABEL_OVERVIEW',
1222
                    'route' => 'microlearning/overview',
1223
                ],
1224
                [
1225
                    'label' => 'LABEL_REPORTS',
1226
                    'route' => 'microlearning/reports',
2 efrain 1227
                    'pages' => [
1228
                        [
1229
                            'label' => 'LABEL_DEVICES',
1230
                            'route' => 'microlearning/reports/devices',
1231
                        ],
14626 efrain 1232
/*
2 efrain 1233
                        [
1234
                            'label' => 'LABEL_PROGRESS',
1235
                            'route' => 'microlearning/reports/progress',
1236
                        ],
14626 efrain 1237
*/
14610 efrain 1238
                        [
1239
                            'label' => 'LABEL_PROGRESS_FOR_CAPSULE',
1240
                            'route' => 'microlearning/reports/progress-for-capsule',
1241
                        ],
779 geraldo 1242
                    ],
1 www 1243
                ],
1244
                [
1245
                    'label' => 'LABEL_CONTENT',
1246
                    'route' => 'microlearning/content',
1247
                    'pages' => [
1248
                        [
66 efrain 1249
                            'label' => 'LABEL_QUIZZES',
1250
                            'route' => 'microlearning/content/quizzes',
1251
                        ],
1252
                        [
1 www 1253
                            'label' => 'LABEL_TOPICS',
1254
                            'route' => 'microlearning/content/topics',
1255
                        ],
1256
                        [
1257
                            'label' => 'LABEL_CAPSULES',
1258
                            'route' => 'microlearning/content/capsules',
1259
                        ],
1260
                        [
1261
                            'label' => 'LABEL_SLIDES',
1262
                            'route' => 'microlearning/content/slides',
1263
                        ],
1264
                    ]
1265
                ],
1266
                [
1267
                    'label' => 'LABEL_ACCESS_FOR_STUDENTS',
1268
                    'route' => 'microlearning/access-for-students',
1269
                ],
1270
                [
1271
                    'label' => 'LABEL_STUDENTS',
1272
                    'route' => 'microlearning/students',
1273
                ],
1274
                [
1275
                    'label' => 'LABEL_FILTERS',
1276
                    'route' => 'microlearning/settings',
1277
                    'pages' => [
1278
                        [
1279
                            'label' => 'LABEL_COMPANIES',
1280
                            'route' => 'microlearning/settings/companies',
1281
                        ],
1282
                        [
1283
                            'label' => 'LABEL_FUNCTIONS',
1284
                            'route' => 'microlearning/settings/functions',
1285
                        ],
1286
                        [
1287
                            'label' => 'LABEL_GROUPS',
1288
                            'route' => 'microlearning/settings/groups',
1289
                        ],
1290
                        [
1291
                            'label' => 'LABEL_INSTITUTIONS',
1292
                            'route' => 'microlearning/settings/institutions',
1293
                        ],
1294
                        [
1295
                            'label' => 'LABEL_PROGRAMS',
1296
                            'route' => 'microlearning/settings/programs',
1297
                        ],
1298
                        [
1299
                            'label' => 'LABEL_PARTNERS',
1300
                            'route' => 'microlearning/settings/partners',
1301
                        ],
1302
                        [
1303
                            'label' => 'LABEL_SECTORS',
1304
                            'route' => 'microlearning/settings/sectors',
1305
                        ],
1306
                        [
1307
                            'label' => 'LABEL_STUDENT_TYPES',
1308
                            'route' => 'microlearning/settings/student-types',
1309
                        ],
779 geraldo 1310
                    ],
1 www 1311
                ]
1312
            ]
1313
        ],
1314
        [
560 geraldo 1315
            'label' => 'LABEL_JOB_POSITION',
28 efrain 1316
            'route' => 'settings',
1317
            'class' => 'fa fa-book',
1318
            'pages' => [
1319
                [
66 efrain 1320
                    'label' => 'LABEL_JOBS_DESCRIPTION',
1321
                    'route' => 'settings/jobs-description',
28 efrain 1322
                ],
1323
                [
1324
                    'label' => 'LABEL_COMPETENCIES',
1325
                    'route' => 'settings/competencies',
1326
                ],
66 efrain 1327
                [
1328
                    'label' => 'LABEL_COMPETENCY_TYPES',
1329
                    'route' => 'settings/competency-types',
1330
                ],
67 efrain 1331
                [
14875 efrain 1332
                    'label' => 'LABEL_BEHAVIORS',
1333
                    'route' => 'settings/behaviors',
1334
                ],
1335
                [
67 efrain 1336
                    'label' => 'LABEL_POSITIONS',
1337
                    'route' => 'settings/positions',
1338
                ],
28 efrain 1339
            ]
779 geraldo 1340
        ],
22 steven 1341
        [
1090 geraldo 1342
            'label' => 'LABEL_PERFORMANCE_EVALUATION_MENU',
976 geraldo 1343
            'route' => 'performance-evaluation',
1344
            'class' => 'fa fa-book',
1345
            'pages' => [
1346
                [
1347
                    'label' => 'LABEL_FORMS',
1348
                    'route' => 'performance-evaluation/forms',
1349
                ],
1383 efrain 1350
 
976 geraldo 1351
                [
1383 efrain 1352
                    'label' => 'LABEL_TESTS',
1353
                    'route' => 'performance-evaluation/evaluations',
1354
                ]
976 geraldo 1355
            ],
946 geraldo 1356
        ],
1321 eleazar 1357
        [
1 www 1358
            'label' => 'LABEL_PROFILE',
1359
            'route' => 'profile',
1360
            'class' => 'fa fa-picture-o'
1361
        ],
1362
        [
1363
            'label' => 'LABEL_FOLLOWERS',
1364
            'route' => 'followers',
1365
            'class' => 'fa fa-heart'
1366
        ],
1367
        [
1368
            'label' => 'LABEL_USERS',
1369
            'route' => 'users',
1370
            'class' => 'fa fa-users',
1371
        ],
1334 efrain 1372
 
1 www 1373
        [
1334 efrain 1374
            'label' => 'LABEL_OWN_PROFESSIONAL_NETWORK',
1375
            'route' => 'own-professional-network',
1376
            'class' => 'fa fa-book',
1377
        ],
1378
 
1379
        [
1380
            'label' => 'LABEL_ORGANIZATIONAL_DESIGN',
1381
            'route' =>  'organizational-design',
1382
            'class' => 'fa fa-book',
1383
        ],
1384
 
8187 nelberth 1385
 
1334 efrain 1386
        [
8187 nelberth 1387
            'label' => 'LABEL_HIGH_PERFORMANCE_TEAMS',
12397 nelberth 1388
            'route' =>  'high-performance-teams/groups',
1689 nelberth 1389
            'class' => 'fa fa-street-view',
12397 nelberth 1390
 
1334 efrain 1391
        ],
1392
        [
12397 nelberth 1393
            'label' => 'LABEL_PLANNING_OBJECTIVES_AND_GOALS',
1394
            'route' => 'planning-objectives-and-goals/objectives',
1395
            'class' => 'fa fa-book',
1396
        ],
1397
        [
1334 efrain 1398
            'label' => 'LABEL_DEVELOPMENT_AND_TRAINING',
1399
            'route' => 'development-and-training',
1400
            'class' => 'fa fa-book',
1401
        ],
1402
 
13353 eleazar 1403
        [
1404
            'label' => 'LABEL_DEVELOPMENT_AND_CONTENT',
1405
            'route' => 'development-and-content',
1406
            'class' => 'fa fa-book',
1407
            'pages' => [
1408
                [
1409
                    'label' => 'LABEL_CATEGORIES',
1410
                    'route' =>  'development-and-content/category',
1411
                ],
15028 efrain 1412
 
13353 eleazar 1413
                [
13464 eleazar 1414
                    'label' => 'LABEL_CONTENT',
15028 efrain 1415
                    'route' =>  'development-and-content/listing',
13464 eleazar 1416
                ]
13353 eleazar 1417
 
1418
            ]
1419
        ],
1334 efrain 1420
 
1421
        [
1422
            'label' => 'LABEL_RECRUITMENT_AND_SELECTION',
1477 efrain 1423
            'route' => 'recruitment-and-selection',
1334 efrain 1424
            'class' => 'fa fa-book',
1342 eleazar 1425
            'pages' => [
1426
                [
1463 eleazar 1427
                    'label' => 'LABEL_VACANCIES',
1478 eleazar 1428
                    'route' => 'recruitment-and-selection/vacancies',
1342 eleazar 1429
                ],
1459 eleazar 1430
 
1431
                [
4241 eleazar 1432
                    'label' => 'LABEL_PRE_SELECTION',
1478 eleazar 1433
                    'route' => 'recruitment-and-selection/candidates',
1709 eleazar 1434
                ],
1435
                [
1436
                    'label' => 'LABEL_INTERVIEW',
4047 eleazar 1437
                    'route' => 'recruitment-and-selection/interview/form',
1438
 
1463 eleazar 1439
                ]
1342 eleazar 1440
             ],
1334 efrain 1441
        ],
1442
 
1443
        [
1444
            'label' => 'LABEL_INDUCTION',
1445
            'route' => 'induction',
1446
            'class' => 'fa fa-book',
1447
        ],
1448
 
1449
 
1450
        [
1451
            'label' => 'LABEL_ORGANIZATIONAL_CLIMATE',
1452
            'route' => 'organizational-climate',
1453
            'class' => 'fa fa-book',
7218 eleazar 1454
            'pages' => [
1455
                [
1456
                    'label' => 'LABEL_FORMS',
1457
                    'route' => 'organizational-climate/form',
1458
                ],
1459
                [
1460
                    'label' => 'LABEL_SURVEY',
1461
                    'route' => 'organizational-climate',
1462
                ],
1463
                [
1464
                    'label' => 'LABEL_SURVEY_TEST',
1465
                    'route' => 'organizational-climate/test',
1466
                ],
1467
                [
1468
                    'label' => 'LABEL_SURVEY_REPORT',
1469
                    'route' => 'organizational-climate/report',
1470
                ],
1471
            ]
1334 efrain 1472
        ],
1473
 
1474
        [
1475
            'label' => 'LABEL_CULTURE',
1476
            'route' =>  'culture',
1477
            'class' => 'fa fa-book',
1478
        ],
1479
 
1480
        [
1481
            'label' => 'LABEL_COMMUNICATION',
13969 nelberth 1482
            'route' =>  'communication/inbox',
13012 nelberth 1483
            'class' => 'fa fa-envelope',
13770 nelberth 1484
 
1485
 
1334 efrain 1486
        ],
1487
 
1488
        [
1489
            'label' => 'LABEL_CAREER_DEVELOPMENT',
1490
            'route' =>  'career-development',
1491
            'class' => 'fa fa-book',
1492
        ],
1493
 
1494
        [
1495
            'label' => 'LABEL_SURVEYS',
4375 eleazar 1496
            'route' =>  'survey',
1334 efrain 1497
            'class' => 'fa fa-book',
4374 eleazar 1498
            'pages' => [
1499
                [
1500
                    'label' => 'LABEL_FORMS',
4375 eleazar 1501
                    'route' => 'survey/form',
4374 eleazar 1502
                ],
4579 eleazar 1503
                [
1504
                    'label' => 'LABEL_SURVEY',
1505
                    'route' => 'survey',
1506
                ],
5287 eleazar 1507
                [
1508
                    'label' => 'LABEL_SURVEY_TEST',
1509
                    'route' => 'survey/test',
1510
                ],
5823 eleazar 1511
                [
1512
                    'label' => 'LABEL_SURVEY_REPORT',
1513
                    'route' => 'survey/report',
1514
                ],
4374 eleazar 1515
            ]
1334 efrain 1516
        ],
1517
 
1518
        [
1519
            'label' => 'LABEL_BUILDING_MY_FUTURE',
1520
            'route' =>  'building-my-future',
1521
            'class' => 'fa fa-book',
1522
        ],
1523
 
1524
 
4379 nelberth 1525
 
1334 efrain 1526
        [
1527
            'label' => 'LABEL_MY_TRAINER',
1528
            'route' => 'my-trainer',
1529
            'class' => 'fa fa-book',
8462 eleazar 1530
            'pages' => [
1531
                [
8465 eleazar 1532
                    'label' => 'LABEL_CATEGORIES',
8462 eleazar 1533
                    'route' =>  'my-trainer/category',
1534
                ],
1535
                [
8464 eleazar 1536
                    'label' => 'LABEL_QUESTIONS',
8462 eleazar 1537
                    'route' => 'my-trainer/question',
1538
                ],
10778 eleazar 1539
 
8462 eleazar 1540
            ]
1334 efrain 1541
        ],
1542
 
1543
 
1336 efrain 1544
 
1334 efrain 1545
        [
1 www 1546
            'label' => 'LABEL_LOGOUT',
1547
            'route' => 'signout',
1548
            'class' => 'fa fa-sign-out',
1549
        ]
1550
    ];
1551
}