Proyectos de Subversion LeadersLinked - Backend

Rev

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