Proyectos de Subversion LeadersLinked - Backend

Rev

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