Proyectos de Subversion LeadersLinked - Backend

Rev

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