Proyectos de Subversion LeadersLinked - Backend

Rev

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