Proyectos de Subversion LeadersLinked - Backend

Rev

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