Proyectos de Subversion LeadersLinked - Backend

Rev

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