Proyectos de Subversion LeadersLinked - Backend

Rev

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