Proyectos de Subversion LeadersLinked - Backend

Rev

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