Proyectos de Subversion LeadersLinked - Backend

Rev

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