Proyectos de Subversion LeadersLinked - Backend

Rev

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