Proyectos de Subversion LeadersLinked - Backend

Rev

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