Proyectos de Subversion LeadersLinked - Backend

Rev

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