Proyectos de Subversion LeadersLinked - Backend

Rev

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

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