Proyectos de Subversion LeadersLinked - Backend

Rev

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