Proyectos de Subversion LeadersLinked - Backend

Rev

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