Proyectos de Subversion LeadersLinked - Backend

Rev

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