Proyectos de Subversion LeadersLinked - Backend

Rev

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