Proyectos de Subversion LeadersLinked - Backend

Rev

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

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