Proyectos de Subversion LeadersLinked - Backend

Rev

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