Proyectos de Subversion LeadersLinked - Backend

Rev

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

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