Proyectos de Subversion LeadersLinked - Backend

Rev

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