Proyectos de Subversion LeadersLinked - Backend

Rev

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