Proyectos de Subversion LeadersLinked - Backend

Rev

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