Proyectos de Subversion LeadersLinked - Backend

Rev

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