Proyectos de Subversion LeadersLinked - Backend

Rev

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