Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 13012 | Rev 13028 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

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