Proyectos de Subversion LeadersLinked - Backend

Rev

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