Proyectos de Subversion LeadersLinked - Backend

Rev

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