Proyectos de Subversion LeadersLinked - Backend

Rev

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