Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15364 | Rev 15386 | 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
 
15088 efrain 5
 
6
 
7
 
779 geraldo 8
function getAclResources() {
1 www 9
    return [
10
        'home',
11
        'signin-admin',
12
        'signin-company',
13
        'dashboard',
14
        'signout',
15
        'storage',
15336 efrain 16
        'storage-network',
1 www 17
        'settings',
18
        'settings/company-sizes',
19
        'settings/company-sizes/add',
20
        'settings/company-sizes/edit',
21
        'settings/company-sizes/delete',
22
        'settings/competency-types',
23
        'settings/competency-types/add',
24
        'settings/competency-types/edit',
25
        'settings/competency-types/delete',
8536 efrain 26
        'settings/competency-types/import',
1102 geraldo 27
        'settings/behaviors',
28
        'settings/behaviors/add',
1138 geraldo 29
        'settings/behaviors/edit',
14279 kerby 30
        'settings/behaviors/delete',
14875 efrain 31
        'settings/behaviors/import',
1 www 32
        'settings/competencies',
33
        'settings/competencies/add',
34
        'settings/competencies/edit',
35
        'settings/competencies/delete',
28 efrain 36
        'settings/competencies/import',
1 www 37
        'settings/degrees',
38
        'settings/degrees/add',
39
        'settings/degrees/edit',
40
        'settings/degrees/delete',
41
        'settings/email-templates',
42
        'settings/email-templates/edit',
43
        'settings/push-templates',
44
        'settings/push-templates/edit',
15336 efrain 45
        'settings/push-templates/import',
1 www 46
        'settings/group-types',
47
        'settings/group-types/add',
48
        'settings/group-types/edit',
49
        'settings/group-types/delete',
50
        'settings/industries',
51
        'settings/industries/add',
52
        'settings/industries/edit',
53
        'settings/industries/delete',
54
        'settings/job-categories',
55
        'settings/job-categories/add',
56
        'settings/job-categories/edit',
57
        'settings/job-categories/delete',
28 efrain 58
        'settings/jobs-description',
59
        'settings/jobs-description/add',
60
        'settings/jobs-description/edit',
61
        'settings/jobs-description/delete',
561 geraldo 62
        'settings/jobs-description/report',
846 geraldo 63
        'settings/jobs-description/import',
67 efrain 64
        'settings/positions',
65
        'settings/positions/add',
66
        'settings/positions/edit',
67
        'settings/positions/delete',
1320 efrain 68
        'settings/positions/subordinates',
1 www 69
        'settings/skills',
70
        'settings/skills/add',
71
        'settings/skills/edit',
72
        'settings/skills/delete',
15336 efrain 73
 
74
        'settings/aptitudes',
75
        'settings/aptitudes/add',
76
        'settings/aptitudes/edit',
77
        'settings/aptitudes/delete',
78
 
79
        'settings/hobbies-and-interests',
80
        'settings/hobbies-and-interests/add',
81
        'settings/hobbies-and-interests/edit',
82
        'settings/hobbies-and-interests/delete',
83
 
84
        'settings/private-networks',
85
        'settings/private-networks/add',
86
        'settings/private-networks/edit',
87
        'settings/private-networks/delete',
88
 
89
        'settings/my-private-network',
90
        'settings/my-private-network/intro',
91
        'settings/my-private-network/navbar',
92
        'settings/my-private-network/favicon',
93
        'settings/my-private-network/logo',
94
        'settings/my-private-network/styles-and-colors',
95
 
1 www 96
        'publications',
97
        'publications/posts',
98
        'publications/posts/add',
99
        'publications/posts/edit',
100
        'publications/posts/delete',
101
        'publications/pages',
102
        'publications/pages/add',
103
        'publications/pages/edit',
104
        'publications/pages/delete',
105
        'users',
106
        'users/change-password',
107
        'users/unblock',
108
        'users/invite',
109
        'users/accept',
110
        'users/cancel',
111
        'users/reject',
112
        'users/edit',
113
        'users/upload',
129 efrain 114
        'users/email-verify',
1 www 115
        'companies',
116
        'companies/edit',
117
        'companies/services',
118
        'companies/roles',
119
        //Company
120
        'profile',
121
        'profile/extended',
122
        'profile/cover',
123
        'profile/image',
779 geraldo 124
        'profile/header',
125
        'profile/footer',
1 www 126
        'profile/website',
127
        'profile/foundation_year',
128
        'profile/location',
129
        'profile/social-network',
130
        'profile/company-size',
131
        'profile/industry',
132
        'profile/delete',
13065 nelberth 133
 
1 www 134
        'feeds',
135
        'feeds/timeline',
10123 nelberth 136
        'feeds/onefeed',
1 www 137
        'feeds/delete',
138
        'feeds/comments',
139
        'feeds/comments/delete',
8395 nelberth 140
        'feeds/comments/answer',
15364 efrain 141
        'feeds/add',
8395 nelberth 142
 
15364 efrain 143
 
1 www 144
        'followers',
145
        'followers/delete',
114 efrain 146
        'self-evaluation',
147
        'self-evaluation/forms',
148
        'self-evaluation/forms/add',
149
        'self-evaluation/forms/edit',
150
        'self-evaluation/forms/delete',
115 efrain 151
        'self-evaluation/users',
152
        'self-evaluation/users/add',
153
        'self-evaluation/users/delete',
114 efrain 154
        'self-evaluation/reviews',
115 efrain 155
        'self-evaluation/reviews/edit',
470 geraldo 156
        'self-evaluation/reviews/report',
946 geraldo 157
        'performance-evaluation',
158
        'performance-evaluation/forms',
159
        'performance-evaluation/forms/add',
160
        'performance-evaluation/forms/edit',
161
        'performance-evaluation/forms/delete',
15079 efrain 162
        'performance-evaluation/forms/job-decription',
1383 efrain 163
        'performance-evaluation/evaluations',
164
        'performance-evaluation/evaluations/add',
7870 eleazar 165
        'performance-evaluation/evaluations/self',
166
        'performance-evaluation/evaluations/both',
167
        'performance-evaluation/evaluations/superviser',
8068 eleazar 168
        'performance-evaluation/evaluations/user-by-email',
1383 efrain 169
        'performance-evaluation/evaluations/edit',
170
        'performance-evaluation/evaluations/delete',
8220 eleazar 171
        'performance-evaluation/evaluations/report-self',
172
        'performance-evaluation/evaluations/report-both',
8249 eleazar 173
        'performance-evaluation/evaluations/report-superviser',
1383 efrain 174
        'performance-evaluation/evaluations/users',
175
        'performance-evaluation/evaluations/users/add',
176
        'performance-evaluation/evaluations/users/delete',
177
 
1263 geraldo 178
        'performance-evaluation/forms/report',
1320 efrain 179
        'performance-evaluation/reviews',
180
        'performance-evaluation/reviews/pdf',
1477 efrain 181
 
182
        'recruitment-and-selection',
183
        'recruitment-and-selection/vacancies',
184
        'recruitment-and-selection/vacancies/add',
185
        'recruitment-and-selection/vacancies/edit',
186
        'recruitment-and-selection/vacancies/delete',
187
        'recruitment-and-selection/candidates',
188
        'recruitment-and-selection/candidates/add',
189
        'recruitment-and-selection/candidates/edit',
190
        'recruitment-and-selection/candidates/delete',
1636 eleazar 191
        'recruitment-and-selection/user-by-email',
1710 eleazar 192
        'recruitment-and-selection/interview',
1709 eleazar 193
        'recruitment-and-selection/interview/form',
8757 eleazar 194
        'recruitment-and-selection/interview/form/file',
1709 eleazar 195
        'recruitment-and-selection/interview/form/add',
196
        'recruitment-and-selection/interview/form/edit',
197
        'recruitment-and-selection/interview/form/delete',
198
        'recruitment-and-selection/interview/report',
3587 eleazar 199
        'recruitment-and-selection/interview/vacancy',
4367 eleazar 200
        'recruitment-and-selection/interview/type',
8782 eleazar 201
        'recruitment-and-selection/interview/file',
202
        'recruitment-and-selection/interview/file/add',
203
        'recruitment-and-selection/interview/file/edit',
204
        'recruitment-and-selection/interview/file/delete',
15088 efrain 205
 
4375 eleazar 206
        'survey',
4579 eleazar 207
        'survey/add',
208
        'survey/edit',
209
        'survey/delete',
4375 eleazar 210
        'survey/form',
211
        'survey/form/add',
212
        'survey/form/edit',
213
        'survey/form/delete',
5287 eleazar 214
        'survey/test',
215
        'survey/test/add',
6662 eleazar 216
        'survey/test/report',
5287 eleazar 217
        'survey/test/delete',
5823 eleazar 218
        'survey/report',
6497 eleazar 219
        'survey/report/overview',
5823 eleazar 220
        'survey/report/all',
15149 efrain 221
        'survey/report/excel',
15088 efrain 222
 
7218 eleazar 223
        'organizational-climate',
224
        'organizational-climate/add',
225
        'organizational-climate/edit',
226
        'organizational-climate/delete',
227
        'organizational-climate/form',
228
        'organizational-climate/form/add',
229
        'organizational-climate/form/edit',
230
        'organizational-climate/form/delete',
231
        'organizational-climate/test',
232
        'organizational-climate/test/add',
233
        'organizational-climate/test/report',
234
        'organizational-climate/test/delete',
235
        'organizational-climate/report',
236
        'organizational-climate/report/overview',
237
        'organizational-climate/report/all',
15149 efrain 238
        'organizational-climate/report/excel',
15088 efrain 239
 
1 www 240
        'jobs',
241
        'jobs/add',
242
        'jobs/delete',
243
        'jobs/users-who-applied',
244
        'jobs/edit',
245
        'jobs/edit/title',
246
        'jobs/edit/status',
247
        'jobs/edit/last-date-of-application',
248
        'jobs/edit/employment-type',
249
        'jobs/edit/experience',
250
        'jobs/edit/job-category',
251
        'jobs/edit/extended',
252
        'jobs/edit/location',
253
        'jobs/edit/salary',
254
        'jobs/edit/languages',
255
        'jobs/edit/degrees',
256
        'jobs/edit/skills',
257
        'jobs/edit/how-apply',
15088 efrain 258
 
1 www 259
        'microlearning',
260
        'microlearning/overview',
261
        'microlearning/reports',
2 efrain 262
        'microlearning/reports/progress',
14610 efrain 263
        'microlearning/reports/progress-for-capsule',
2 efrain 264
        'microlearning/reports/devices',
187 efrain 265
        'microlearning/reports/comments-for-capsule',
1 www 266
        'microlearning/content',
267
        'microlearning/content/topics',
268
        'microlearning/content/topics/add',
269
        'microlearning/content/topics/edit',
270
        'microlearning/content/topics/delete',
271
        'microlearning/content/capsules',
272
        'microlearning/content/capsules/add',
273
        'microlearning/content/capsules/edit',
274
        'microlearning/content/capsules/delete',
275
        'microlearning/content/capsules/users',
276
        'microlearning/content/slides',
277
        'microlearning/content/slides/add',
278
        'microlearning/content/slides/edit',
279
        'microlearning/content/slides/delete',
280
        'microlearning/content/slides/text',
66 efrain 281
        'microlearning/content/quizzes',
282
        'microlearning/content/quizzes/add',
283
        'microlearning/content/quizzes/edit',
284
        'microlearning/content/quizzes/delete',
285
        'microlearning/content/quizzes/check',
286
        'microlearning/content/quizzes/publish',
287
        'microlearning/content/quizzes/copy',
288
        'microlearning/content/quizzes/questions',
289
        'microlearning/content/quizzes/questions/add',
290
        'microlearning/content/quizzes/questions/edit',
291
        'microlearning/content/quizzes/questions/delete',
292
        'microlearning/content/quizzes/questions/answers',
293
        'microlearning/content/quizzes/questions/answers/add',
294
        'microlearning/content/quizzes/questions/answers/edit',
295
        'microlearning/content/quizzes/questions/answers/delete',
1 www 296
        'microlearning/access-for-students',
297
        'microlearning/access-for-students/revoke',
298
        'microlearning/access-for-students/unlimit',
299
        'microlearning/access-for-students/cancel',
300
        'microlearning/access-for-students/reactive',
301
        'microlearning/access-for-students/upload',
302
        'microlearning/access-for-students/notification',
303
        'microlearning/students',
304
        'microlearning/students/edit',
305
        'microlearning/students/timeline',
306
        'microlearning/students/change-password',
307
        'microlearning/students/unblock',
308
        'microlearning/settings',
309
        'microlearning/settings/student-types',
310
        'microlearning/settings/student-types/add',
311
        'microlearning/settings/student-types/edit',
312
        'microlearning/settings/student-types/delete',
313
        'microlearning/settings/functions',
314
        'microlearning/settings/functions/add',
315
        'microlearning/settings/functions/edit',
316
        'microlearning/settings/functions/delete',
317
        'microlearning/settings/sectors',
318
        'microlearning/settings/sectors/add',
319
        'microlearning/settings/sectors/edit',
320
        'microlearning/settings/sectors/delete',
321
        'microlearning/settings/programs',
322
        'microlearning/settings/programs/add',
323
        'microlearning/settings/programs/edit',
324
        'microlearning/settings/programs/delete',
325
        'microlearning/settings/groups',
326
        'microlearning/settings/groups/add',
327
        'microlearning/settings/groups/edit',
328
        'microlearning/settings/groups/delete',
329
        'microlearning/settings/companies',
330
        'microlearning/settings/companies/add',
331
        'microlearning/settings/companies/edit',
332
        'microlearning/settings/companies/delete',
333
        'microlearning/settings/partners',
334
        'microlearning/settings/partners/add',
335
        'microlearning/settings/partners/edit',
336
        'microlearning/settings/partners/delete',
337
        'microlearning/settings/institutions',
338
        'microlearning/settings/institutions/add',
339
        'microlearning/settings/institutions/edit',
340
        'microlearning/settings/institutions/delete',
15088 efrain 341
 
1333 efrain 342
        'own-professional-network',
343
        'organizational-design',
344
        'planning-objectives-and-goals',
2228 nelberth 345
        'planning-objectives-and-goals/objectives',
3462 nelberth 346
        'planning-objectives-and-goals/objectives/report',
3988 nelberth 347
        'planning-objectives-and-goals/objectives/reportall',
4041 nelberth 348
        'planning-objectives-and-goals/objectives/matriz',
2331 nelberth 349
        'planning-objectives-and-goals/objectives/goals',
2379 nelberth 350
        'planning-objectives-and-goals/objectives/goals/add',
351
        'planning-objectives-and-goals/objectives/goals/edit',
352
        'planning-objectives-and-goals/objectives/goals/delete',
2517 nelberth 353
        'planning-objectives-and-goals/objectives/goals/task',
354
        'planning-objectives-and-goals/objectives/goals/task/add',
355
        'planning-objectives-and-goals/objectives/goals/task/edit',
356
        'planning-objectives-and-goals/objectives/goals/task/delete',
2822 nelberth 357
        'planning-objectives-and-goals/objectives/goals/task/view',
2228 nelberth 358
        'planning-objectives-and-goals/objectives/add',
359
        'planning-objectives-and-goals/objectives/delete',
360
        'planning-objectives-and-goals/objectives/edit',
4589 nelberth 361
 
4535 nelberth 362
        'high-performance-teams',
7222 nelberth 363
        'high-performance-teams/groups',
7228 nelberth 364
        'high-performance-teams/groups/add',
365
        'high-performance-teams/groups/edit',
366
        'high-performance-teams/groups/delete',
7233 nelberth 367
        'high-performance-teams/groups/view',
11902 nelberth 368
        'high-performance-teams/groups/view/feeds',
369
        'high-performance-teams/groups/view/feeds/timeline',
370
        'high-performance-teams/groups/view/feeds/onefeed',
371
        'high-performance-teams/groups/view/feeds/delete',
372
        'high-performance-teams/groups/view/feeds/comments',
373
        'high-performance-teams/groups/view/feeds/comments/delete',
374
        'high-performance-teams/groups/view/feeds/comments/answer',
375
        'high-performance-teams/groups/view/feeds/add',
7484 nelberth 376
        'high-performance-teams/groups/view/topic',
377
        'high-performance-teams/groups/view/topic/add',
378
        'high-performance-teams/groups/view/topic/edit',
379
        'high-performance-teams/groups/view/topic/delete',
7637 nelberth 380
        'high-performance-teams/groups/view/topic/view',
8687 nelberth 381
        'high-performance-teams/groups/view/urgent',
9096 nelberth 382
        'high-performance-teams/groups/view/calendar',
9923 nelberth 383
        'high-performance-teams/groups/view/calendar/view',
10143 nelberth 384
        'high-performance-teams/groups/view/foro',
385
        'high-performance-teams/groups/view/foro/view',
9619 nelberth 386
        'high-performance-teams/groups/view/foro/categories',
9635 nelberth 387
        'high-performance-teams/groups/view/foro/categories/add',
388
        'high-performance-teams/groups/view/foro/categories/delete',
389
        'high-performance-teams/groups/view/foro/categories/edit',
390
        'high-performance-teams/groups/view/foro/categories/view',
9760 nelberth 391
        'high-performance-teams/groups/view/foro/categories/articles',
9845 nelberth 392
        'high-performance-teams/groups/view/foro/categories/articles/add',
393
        'high-performance-teams/groups/view/foro/categories/articles/edit',
394
        'high-performance-teams/groups/view/foro/categories/articles/delete',
395
        'high-performance-teams/groups/view/foro/categories/articles/view',
12407 nelberth 396
        'high-performance-teams/groups/view/objectives',
397
        'high-performance-teams/groups/view/objectives/report',
398
        'high-performance-teams/groups/view/objectives/reportall',
399
        'high-performance-teams/groups/view/objectives/matriz',
400
        'high-performance-teams/groups/view/objectives/goals',
401
        'high-performance-teams/groups/view/objectives/goals/add',
402
        'high-performance-teams/groups/view/objectives/goals/edit',
403
        'high-performance-teams/groups/view/objectives/goals/delete',
404
        'high-performance-teams/groups/view/objectives/goals/task',
405
        'high-performance-teams/groups/view/objectives/goals/task/add',
406
        'high-performance-teams/groups/view/objectives/goals/task/edit',
407
        'high-performance-teams/groups/view/objectives/goals/task/delete',
408
        'high-performance-teams/groups/view/objectives/goals/task/view',
409
        'high-performance-teams/groups/view/objectives/add',
410
        'high-performance-teams/groups/view/objectives/delete',
411
        'high-performance-teams/groups/view/objectives/edit',
9424 nelberth 412
 
8633 nelberth 413
 
11342 nelberth 414
 
7812 nelberth 415
        'high-performance-teams/groups/view/members',
8012 nelberth 416
        'high-performance-teams/groups/view/members/invite',
7813 nelberth 417
        'high-performance-teams/groups/view/members/delete',
10289 nelberth 418
        'high-performance-teams/groups/view/members/edit',
11430 nelberth 419
 
11342 nelberth 420
        'chat',
421
        'chat/heart-beat',
422
        'chat/create-group',
423
        'chat/add-user-to-group',
424
        'chat/mark-seen',
425
        'chat/mark-received',
426
        'chat/remove-user-from-group',
427
        'chat/get-all-messages',
428
        'chat/send',
429
        'chat/get-contacts-availables-for-group',
430
        'chat/get-contact-group-list',
431
        'chat/leave-group',
432
        'chat/delete-group',
433
        'chat/close',
434
        'chat/clear',
14692 efrain 435
        'chat/open',
11342 nelberth 436
        'chat/upload',
11430 nelberth 437
        'csrf',
7481 nelberth 438
 
7255 nelberth 439
 
4588 nelberth 440
 
441
 
1333 efrain 442
        'development-and-training',
13353 eleazar 443
 
444
        'development-and-content',
15028 efrain 445
        'development-and-content/listing',
13353 eleazar 446
        'development-and-content/feed',
447
        'development-and-content/comments',
448
        'development-and-content/comments/delete',
15175 efrain 449
        'development-and-content/comments/answer',
13353 eleazar 450
        'development-and-content/category',
451
        'development-and-content/category/add',
452
        'development-and-content/category/edit',
453
        'development-and-content/category/delete',
14743 kerby 454
        'development-and-content/add',
455
        'development-and-content/delete',
456
        'development-and-content/aproved',
457
        'development-and-content/edit',
458
        'development-and-content/categories',
15175 efrain 459
 
460
 
1333 efrain 461
        'induction',
13524 nelberth 462
 
1333 efrain 463
        'culture',
13524 nelberth 464
 
465
        'inmail',
466
        'inmail/search-people',
14989 efrain 467
        'inmail/view',
13553 nelberth 468
        'inmail/view/message',
14989 efrain 469
        'inmail/view/message/send',
13771 nelberth 470
        'inmail/sendall',
14989 efrain 471
 
13553 nelberth 472
 
13778 nelberth 473
        'inmail/company',
474
        'inmail/company/message',
475
        'inmail/company/message/send',
476
 
1333 efrain 477
        'communication',
13675 nelberth 478
        'communication/inbox',
13731 nelberth 479
        'communication/inbox/sendall',
13675 nelberth 480
        'communication/inbox/search-people',
481
        'communication/inbox/view/message',
482
        'communication/inbox/view',
483
        'communication/inbox/view/message/send',
13525 nelberth 484
 
485
 
1333 efrain 486
        'career-development',
487
        'building-my-future',
4410 nelberth 488
 
4391 nelberth 489
        'my-trainer',
8462 eleazar 490
        'my-trainer/category',
491
        'my-trainer/category/add',
492
        'my-trainer/category/edit',
493
        'my-trainer/category/delete',
494
        'my-trainer/question',
495
        'my-trainer/question/add',
496
        'my-trainer/question/edit',
497
        'my-trainer/question/delete',
11168 eleazar 498
        'my-trainer/question/view',
11842 eleazar 499
        'my-trainer/question/answer',
500
        'my-trainer/question/answer/add',
501
        'my-trainer/question/answer/edit',
502
        'my-trainer/question/answer/delete',
11873 eleazar 503
        'my-trainer/question/answer/feed',
11921 eleazar 504
        'my-trainer/question/answer/timeline',
11842 eleazar 505
        'my-trainer/question/answer/comments',
506
        'my-trainer/question/answer/comments/delete',
507
        'my-trainer/question/answer/comments/answer',
1 www 508
    ];
509
}
510
 
15336 efrain 511
 
512
 
513
 
779 geraldo 514
function getAclRolesCompany() {
1 www 515
    return [
1336 efrain 516
 
15088 efrain 517
 
518
 
4 efrain 519
        'company-creator' => [
520
            'home',
521
            'signin-admin',
522
            'signin-company',
523
            'dashboard',
524
            'signout',
525
            'storage',
526
            'profile',
527
            'profile/extended',
528
            'profile/cover',
779 geraldo 529
            'profile/header',
530
            'profile/footer',
4 efrain 531
            'profile/image',
532
            'profile/website',
533
            'profile/foundation_year',
534
            'profile/location',
535
            'profile/social-network',
536
            'profile/company-size',
537
            'profile/industry',
538
            'profile/delete',
539
            'users',
540
            'users/change-password',
541
            'users/unblock',
542
            'users/invite',
543
            'users/accept',
544
            'users/cancel',
545
            'users/reject',
546
            'users/edit',
547
            'users/upload',
548
            'feeds',
15175 efrain 549
            'feeds/timeline',
550
            'feeds/onefeed',
551
            'feeds/delete',
552
            'feeds/comments',
553
            'feeds/comments/delete',
554
            'feeds/comments/answer',
15364 efrain 555
            'feeds/add',
15175 efrain 556
 
4 efrain 557
            'followers',
558
            'followers/delete',
559
            'jobs',
560
            'jobs/add',
561
            'jobs/delete',
562
            'jobs/users-who-applied',
563
            'jobs/edit',
15088 efrain 564
            'jobs/edit/title',
565
            'jobs/edit/status',
4 efrain 566
            'jobs/edit/last-date-of-application',
567
            'jobs/edit/employment-type',
568
            'jobs/edit/experience',
569
            'jobs/edit/job-category',
570
            'jobs/edit/extended',
571
            'jobs/edit/location',
572
            'jobs/edit/salary',
573
            'jobs/edit/languages',
574
            'jobs/edit/degrees',
575
            'jobs/edit/skills',
576
            'jobs/edit/how-apply',
15336 efrain 577
 
1953 nelberth 578
 
14692 efrain 579
 
4 efrain 580
        ],
1 www 581
        'company-admin' => [
582
            'home',
583
            'signin-admin',
584
            'signin-company',
585
            'dashboard',
586
            'signout',
587
            'storage',
588
            'profile',
589
            'profile/extended',
590
            'profile/cover',
591
            'profile/image',
779 geraldo 592
            'profile/header',
593
            'profile/footer',
1 www 594
            'profile/website',
595
            'profile/foundation_year',
596
            'profile/location',
597
            'profile/social-network',
598
            'profile/company-size',
599
            'profile/industry',
600
            'profile/delete',
601
            'users',
602
            'users/change-password',
603
            'users/unblock',
604
            'users/invite',
605
            'users/accept',
606
            'users/cancel',
607
            'users/reject',
608
            'users/edit',
609
            'users/upload',
610
            'feeds',
15175 efrain 611
            'feeds/timeline',
612
            'feeds/onefeed',
613
            'feeds/delete',
614
            'feeds/comments',
615
            'feeds/comments/delete',
616
            'feeds/comments/answer',
15364 efrain 617
            'feeds/add',
15175 efrain 618
 
1 www 619
            'followers',
620
            'followers/delete',
621
            'jobs',
622
            'jobs/add',
623
            'jobs/delete',
624
            'jobs/users-who-applied',
625
            'jobs/edit',
15088 efrain 626
            'jobs/edit/title',
627
            'jobs/edit/status',
1 www 628
            'jobs/edit/last-date-of-application',
629
            'jobs/edit/employment-type',
630
            'jobs/edit/experience',
631
            'jobs/edit/job-category',
632
            'jobs/edit/extended',
633
            'jobs/edit/location',
634
            'jobs/edit/salary',
635
            'jobs/edit/languages',
636
            'jobs/edit/degrees',
637
            'jobs/edit/skills',
638
            'jobs/edit/how-apply',
639
        ],
640
        'company-password-unblock' => [
641
            'home',
642
            'signin-admin',
643
            'signin-company',
644
            'dashboard',
645
            'signout',
646
            'storage',
647
            'users',
648
            'users/change-password',
649
            'users/unblock',
15088 efrain 650
 
1 www 651
        ],
652
        'microlearning-admin' => [
653
            'home',
654
            'signin-admin',
655
            'signin-company',
656
            'dashboard',
657
            'signout',
658
            'storage',
659
            'microlearning',
660
            'microlearning/overview',
187 efrain 661
            'microlearning/reports',
662
            'microlearning/reports/progress',
14610 efrain 663
            'microlearning/reports/progress-for-capsule',
187 efrain 664
            'microlearning/reports/devices',
665
            'microlearning/reports/comments-for-capsule',
1 www 666
            'microlearning/content',
667
            'microlearning/content/topics',
668
            'microlearning/content/topics/add',
669
            'microlearning/content/topics/edit',
670
            'microlearning/content/topics/delete',
671
            'microlearning/content/capsules',
672
            'microlearning/content/capsules/add',
673
            'microlearning/content/capsules/edit',
674
            'microlearning/content/capsules/delete',
675
            'microlearning/content/capsules/users',
676
            'microlearning/content/slides',
677
            'microlearning/content/slides/add',
678
            'microlearning/content/slides/edit',
679
            'microlearning/content/slides/delete',
680
            'microlearning/content/slides/text',
681
            'microlearning/students',
682
            'microlearning/students/edit',
683
            'microlearning/students/timeline',
684
            'microlearning/access-for-students',
685
            'microlearning/access-for-students/revoke',
686
            'microlearning/access-for-students/unlimit',
687
            'microlearning/access-for-students/cancel',
688
            'microlearning/access-for-students/reactive',
689
            'microlearning/access-for-students/upload',
690
            'microlearning/access-for-students/notification',
691
            'microlearning/settings',
692
            'microlearning/settings/student-types',
693
            'microlearning/settings/student-types/add',
694
            'microlearning/settings/student-types/edit',
695
            'microlearning/settings/student-types/delete',
696
            'microlearning/settings/functions',
697
            'microlearning/settings/functions/add',
698
            'microlearning/settings/functions/edit',
699
            'microlearning/settings/functions/delete',
700
            'microlearning/settings/sectors',
701
            'microlearning/settings/sectors/add',
702
            'microlearning/settings/sectors/edit',
703
            'microlearning/settings/sectors/delete',
704
            'microlearning/settings/programs',
705
            'microlearning/settings/programs/add',
706
            'microlearning/settings/programs/edit',
707
            'microlearning/settings/programs/delete',
708
            'microlearning/settings/groups',
709
            'microlearning/settings/groups/add',
710
            'microlearning/settings/groups/edit',
711
            'microlearning/settings/groups/delete',
712
            'microlearning/settings/companies',
713
            'microlearning/settings/companies/add',
714
            'microlearning/settings/companies/edit',
715
            'microlearning/settings/companies/delete',
716
            'microlearning/settings/partners',
717
            'microlearning/settings/partners/add',
718
            'microlearning/settings/partners/edit',
719
            'microlearning/settings/partners/delete',
720
            'microlearning/settings/institutions',
721
            'microlearning/settings/institutions/add',
722
            'microlearning/settings/institutions/edit',
723
            'microlearning/settings/institutions/delete',
724
        ],
725
        'microlearning-editor' => [
726
            'home',
727
            'signin-admin',
728
            'signin-company',
729
            'dashboard',
730
            'signout',
731
            'storage',
732
            'microlearning',
733
            'microlearning/content',
734
            'microlearning/content/topics',
735
            'microlearning/content/topics/add',
736
            'microlearning/content/topics/edit',
737
            'microlearning/content/topics/delete',
738
            'microlearning/content/capsules',
739
            'microlearning/content/capsules/add',
740
            'microlearning/content/capsules/edit',
741
            'microlearning/content/capsules/delete',
742
            'microlearning/content/capsules/users',
743
            'microlearning/content/slides',
744
            'microlearning/content/slides/add',
745
            'microlearning/content/slides/edit',
746
            'microlearning/content/slides/delete',
747
            'microlearning/content/slides/text',
748
            'microlearning/access-for-students',
749
            'microlearning/access-for-students/revoke',
750
            'microlearning/access-for-students/unlimit',
751
            'microlearning/access-for-students/cancel',
752
            'microlearning/access-for-students/reactive',
753
            'microlearning/access-for-students/upload',
754
            'microlearning/access-for-students/notification',
755
        ],
756
        'microlearning-students-password-unblock' => [
757
            'home',
758
            'signin-admin',
759
            'signin-company',
760
            'dashboard',
761
            'signout',
762
            'storage',
763
            'microlearning',
764
            'microlearning/students',
765
            'microlearning/students/change-password',
766
            'microlearning/students/unblock',
767
        ],
768
        'self-evaluation-admin' => [
114 efrain 769
            'self-evaluation',
770
            'self-evaluation/forms',
771
            'self-evaluation/forms/add',
772
            'self-evaluation/forms/edit',
773
            'self-evaluation/forms/delete',
115 efrain 774
            'self-evaluation/users',
775
            'self-evaluation/users/add',
776
            'self-evaluation/users/delete',
114 efrain 777
            'self-evaluation/reviews',
115 efrain 778
            'self-evaluation/reviews/edit',
470 geraldo 779
            'self-evaluation/reviews/report',
1 www 780
        ],
15088 efrain 781
        'self-evaluation-reviews' => [
782
            'self-evaluation',
783
            'self-evaluation/reviews',
784
            'self-evaluation/reviews/edit',
785
            'self-evaluation/reviews/report',
786
        ],
975 geraldo 787
        'performance-evaluation-admin' => [
15088 efrain 788
            'settings',
789
            'settings/positions',
790
            'settings/positions/add',
791
            'settings/positions/edit',
792
            'settings/positions/delete',
793
            'settings/positions/subordinates',
794
 
795
            'settings/behaviors',
796
            'settings/behaviors/add',
797
            'settings/behaviors/edit',
798
            'settings/behaviors/delete',
799
            'settings/behaviors/import',
15371 efrain 800
 
15088 efrain 801
            'settings/competencies',
802
            'settings/competencies/add',
803
            'settings/competencies/edit',
804
            'settings/competencies/delete',
805
            'settings/competencies/import',
806
 
807
            'settings/competency-types',
808
            'settings/competency-types/add',
809
            'settings/competency-types/edit',
810
            'settings/competency-types/delete',
811
            'settings/competency-types/import',
812
 
813
            'settings/jobs-description',
814
            'settings/jobs-description/add',
815
            'settings/jobs-description/edit',
816
            'settings/jobs-description/delete',
817
            'settings/jobs-description/report',
818
            'settings/jobs-description/import',
819
 
975 geraldo 820
            'performance-evaluation',
821
            'performance-evaluation/forms',
822
            'performance-evaluation/forms/add',
823
            'performance-evaluation/forms/edit',
824
            'performance-evaluation/forms/delete',
15079 efrain 825
            'performance-evaluation/forms/job-decription',
1263 geraldo 826
            'performance-evaluation/forms/report',
1320 efrain 827
            'performance-evaluation/reviews',
828
            'performance-evaluation/reviews/pdf',
1383 efrain 829
            'performance-evaluation/evaluations',
830
            'performance-evaluation/evaluations/add',
7870 eleazar 831
            'performance-evaluation/evaluations/self',
832
            'performance-evaluation/evaluations/both',
833
            'performance-evaluation/evaluations/superviser',
15088 efrain 834
            'performance-evaluation/evaluations/user-by-email',
1383 efrain 835
            'performance-evaluation/evaluations/delete',
8220 eleazar 836
            'performance-evaluation/evaluations/report-self',
837
            'performance-evaluation/evaluations/report-both',
15088 efrain 838
            'performance-evaluation/evaluations/report-superviser',
1383 efrain 839
            'performance-evaluation/evaluations/users',
840
            'performance-evaluation/evaluations/users/add',
841
            'performance-evaluation/evaluations/users/delete',
15088 efrain 842
        ],
843
 
844
 
845
        'performance-evaluation-editor' => [
846
            'performance-evaluation',
847
            'performance-evaluation/forms',
848
            'performance-evaluation/forms/add',
849
            'performance-evaluation/forms/edit',
850
            'performance-evaluation/forms/delete',
851
            'performance-evaluation/forms/job-decription',
852
            'performance-evaluation/forms/report',
853
            'performance-evaluation/reviews',
854
            'performance-evaluation/reviews/pdf',
855
            'performance-evaluation/evaluations',
856
            'performance-evaluation/evaluations/add',
857
            'performance-evaluation/evaluations/self',
858
            'performance-evaluation/evaluations/both',
859
            'performance-evaluation/evaluations/superviser',
860
            'performance-evaluation/evaluations/delete',
861
            'performance-evaluation/evaluations/report-self',
862
            'performance-evaluation/evaluations/report-both',
863
            'performance-evaluation/evaluations/report-superviser',
864
            'performance-evaluation/evaluations/users',
865
            'performance-evaluation/evaluations/users/add',
866
            'performance-evaluation/evaluations/users/delete',
1383 efrain 867
 
975 geraldo 868
        ],
15088 efrain 869
        'recruitment-and-selection-admin' => [
870
            'settings',
871
            'settings/positions',
872
            'settings/positions/add',
873
            'settings/positions/edit',
874
            'settings/positions/delete',
875
            'settings/positions/subordinates',
876
 
877
            'settings/behaviors',
878
            'settings/behaviors/add',
879
            'settings/behaviors/edit',
880
            'settings/behaviors/delete',
881
            'settings/behaviors/import',
15371 efrain 882
 
15088 efrain 883
            'settings/competencies',
884
            'settings/competencies/add',
885
            'settings/competencies/edit',
886
            'settings/competencies/delete',
887
            'settings/competencies/import',
888
 
889
            'settings/competency-types',
890
            'settings/competency-types/add',
891
            'settings/competency-types/edit',
892
            'settings/competency-types/delete',
893
            'settings/competency-types/import',
894
 
895
            'settings/jobs-description',
896
            'settings/jobs-description/add',
897
            'settings/jobs-description/edit',
898
            'settings/jobs-description/delete',
899
            'settings/jobs-description/report',
900
            'settings/jobs-description/import',
901
 
902
            'recruitment-and-selection',
903
            'recruitment-and-selection/vacancies',
904
            'recruitment-and-selection/vacancies/add',
905
            'recruitment-and-selection/vacancies/edit',
906
            'recruitment-and-selection/vacancies/delete',
907
            'recruitment-and-selection/candidates',
908
            'recruitment-and-selection/candidates/add',
909
            'recruitment-and-selection/candidates/edit',
910
            'recruitment-and-selection/candidates/delete',
911
            'recruitment-and-selection/user-by-email',
912
            'recruitment-and-selection/interview',
913
            'recruitment-and-selection/interview/form',
914
            'recruitment-and-selection/interview/form/add',
915
            'recruitment-and-selection/interview/form/edit',
916
            'recruitment-and-selection/interview/form/delete',
917
            'recruitment-and-selection/interview/report',
918
            'recruitment-and-selection/interview/vacancy',
919
            'recruitment-and-selection/interview/type',
920
            'recruitment-and-selection/interview/file',
921
            'recruitment-and-selection/interview/file/add',
922
            'recruitment-and-selection/interview/file/edit',
923
            'recruitment-and-selection/interview/file/delete',
924
        ],
925
 
926
        'recruitment-and-selection-editor' => [
927
            'recruitment-and-selection',
928
            'recruitment-and-selection/vacancies',
929
            'recruitment-and-selection/vacancies/add',
930
            'recruitment-and-selection/vacancies/edit',
931
            'recruitment-and-selection/vacancies/delete',
932
            'recruitment-and-selection/candidates',
933
            'recruitment-and-selection/candidates/add',
934
            'recruitment-and-selection/candidates/edit',
935
            'recruitment-and-selection/candidates/delete',
936
            'recruitment-and-selection/user-by-email',
937
            'recruitment-and-selection/interview',
938
            'recruitment-and-selection/interview/form',
939
            'recruitment-and-selection/interview/form/add',
940
            'recruitment-and-selection/interview/form/edit',
941
            'recruitment-and-selection/interview/form/delete',
942
            'recruitment-and-selection/interview/report',
943
            'recruitment-and-selection/interview/vacancy',
944
            'recruitment-and-selection/interview/type',
945
            'recruitment-and-selection/interview/file',
946
            'recruitment-and-selection/interview/file/add',
947
            'recruitment-and-selection/interview/file/edit',
948
            'recruitment-and-selection/interview/file/delete',
949
        ],
15149 efrain 950
        'survey-admin' => [
951
            'survey',
952
            'survey/add',
953
            'survey/edit',
954
            'survey/delete',
955
            'survey/form',
956
            'survey/form/add',
957
            'survey/form/edit',
958
            'survey/form/delete',
959
            'survey/test',
960
            'survey/test/add',
961
            'survey/test/report',
962
            'survey/test/delete',
963
            'survey/report',
964
            'survey/report/overview',
965
            'survey/report/all',
966
            'survey/report/excel',
967
        ],
968
        'survey-test' => [
969
            'survey/test',
970
            'survey/test/add',
971
            'survey/test/report',
972
            'survey/test/delete',
973
        ],
974
        'survey-report' => [
975
            'survey/report',
976
            'survey/report/overview',
977
            'survey/report/all',
978
            'survey/report/excel',
979
        ],
15175 efrain 980
        'organizational-climate-admin' => [
981
            'organizational-climate',
982
            'organizational-climate/add',
983
            'organizational-climate/edit',
984
            'organizational-climate/delete',
985
            'organizational-climate/form',
986
            'organizational-climate/form/add',
987
            'organizational-climate/form/edit',
988
            'organizational-climate/form/delete',
989
            'organizational-climate/test',
990
            'organizational-climate/test/add',
991
            'organizational-climate/test/report',
992
            'organizational-climate/test/delete',
993
            'organizational-climate/report',
994
            'organizational-climate/report/overview',
995
            'organizational-climate/report/all',
996
            'organizational-climate/report/excel',
997
        ],
998
        'organizational-climate-test' => [
999
            'organizational-climate/test',
1000
            'organizational-climate/test/add',
1001
            'organizational-climate/test/report',
1002
            'organizational-climate/test/delete',
1003
        ],
1004
        'organizational-climate-report' => [
1005
            'organizational-climate/report',
1006
            'organizational-climate/report/overview',
1007
            'organizational-climate/report/all',
1008
            'organizational-climate/report/excel',
1009
        ]
779 geraldo 1010
    ];
1 www 1011
}
1012
 
15355 efrain 1013
function getAclPermissionPushTemplatesForCustomApps()
1014
{
1015
    return [
1016
        'settings',
1017
        'settings/push-templates',
1018
        'settings/push-templates/edit',
1019
        'settings/push-templates/import',
1020
    ];
1021
}
1022
 
15336 efrain 1023
function getAclPermissionSuperAdmin()
1024
{
1 www 1025
    return [
15336 efrain 1026
        'settings',
1027
        'settings/private-networks',
1028
        'settings/private-networks/add',
1029
        'settings/private-networks/edit',
1030
        'settings/private-networks/delete',
15355 efrain 1031
 
1032
        'settings/push-templates',
1033
        'settings/push-templates/edit',
15336 efrain 1034
    ];
1035
}
1036
 
1037
function  getAclPermissionAdminForDefaultNetwork()
1038
{
1039
    return [
1040
        'settings',
1041
        'settings/company-sizes',
1042
        'settings/company-sizes/add',
1043
        'settings/company-sizes/edit',
1044
        'settings/company-sizes/delete',
1045
        'settings/competency-types',
1046
        'settings/competency-types/add',
1047
        'settings/competency-types/edit',
1048
        'settings/competency-types/delete',
1049
        'settings/behaviors',
1050
        'settings/behaviors/add',
1051
        'settings/behaviors/edit',
1052
        'settings/competencies',
1053
        'settings/competencies/add',
1054
        'settings/competencies/edit',
1055
        'settings/competencies/delete',
1056
        'settings/degrees',
1057
        'settings/degrees/add',
1058
        'settings/degrees/edit',
1059
        'settings/degrees/delete',
1060
        'settings/email-templates',
1061
        'settings/email-templates/edit',
1062
        'settings/push-templates',
1063
        'settings/push-templates/edit',
1064
        'settings/group-types',
1065
        'settings/group-types/add',
1066
        'settings/group-types/edit',
1067
        'settings/group-types/delete',
1068
        'settings/industries',
1069
        'settings/industries/add',
1070
        'settings/industries/edit',
1071
        'settings/industries/delete',
1072
        'settings/job-categories',
1073
        'settings/job-categories/add',
1074
        'settings/job-categories/edit',
1075
        'settings/job-categories/delete',
1076
        'settings/jobs-description',
1077
        'settings/jobs-description/add',
1078
        'settings/jobs-description/edit',
1079
        'settings/jobs-description/delete',
1080
        'settings/skills',
1081
        'settings/skills/add',
1082
        'settings/skills/edit',
1083
        'settings/skills/delete',
1084
        'settings/aptitudes',
1085
        'settings/aptitudes/add',
1086
        'settings/aptitudes/edit',
1087
        'settings/aptitudes/delete',
1088
 
1089
        'settings/hobbies-and-interests',
1090
        'settings/hobbies-and-interests/add',
1091
        'settings/hobbies-and-interests/edit',
1092
        'settings/hobbies-and-interests/delete',
1093
 
1094
        'settings/email-templates',
1095
        'settings/email-templates/edit',
1096
        'settings/push-templates',
1097
        'settings/push-templates/edit',
1098
 
1099
 
1100
        'settings/my-private-network',
1101
        'settings/my-private-network/intro',
1102
        'settings/my-private-network/navbar',
1103
        'settings/my-private-network/favicon',
1104
        'settings/my-private-network/logo',
1105
        'settings/my-private-network/styles-and-colors',
1106
 
1107
        'companies',
1108
        'companies/edit',
1109
        'companies/services',
1110
        'companies/roles',
1111
    ];
1112
}
1113
 
1114
function  getAclPermissionAdminForNonDefaultNetwork()
1115
{
1116
    return [
1117
        'settings',
1118
        'settings/email-templates',
1119
        'settings/email-templates/edit',
1120
 
1121
 
1122
        'settings/my-private-network',
1123
        'settings/my-private-network/intro',
1124
        'settings/my-private-network/navbar',
1125
        'settings/my-private-network/favicon',
1126
        'settings/my-private-network/logo',
1127
        'settings/my-private-network/styles-and-colors',
1128
 
1129
 
1130
    ];
1131
}
1132
 
1133
 
1134
 
1135
function getAclRolesForUsertype() {
1136
    return [
1 www 1137
        UserType::ADMIN => [
1138
            'home',
1139
            'signin-admin',
1140
            'signin-company',
1141
            'dashboard',
1142
            'signout',
1143
            'storage',
1144
            'settings',
15336 efrain 1145
 
1146
 
1147
            'settings/my-private-network',
1148
            'settings/my-private-network/navbar',
1149
            'settings/my-private-network/favicon',
1150
            'settings/my-private-network/logo',
1151
            'settings/my-private-network/styles-and-colors',
1152
 
1 www 1153
            'publications',
1154
            'publications/posts',
1155
            'publications/posts/add',
1156
            'publications/posts/edit',
1157
            'publications/posts/delete',
1158
            'publications/pages',
1159
            'publications/pages/add',
1160
            'publications/pages/edit',
1161
            'publications/pages/delete',
14610 efrain 1162
 
1 www 1163
            'users',
1164
            'users/change-password',
1165
            'users/unblock',
129 efrain 1166
            'users/email-verify',
14587 efrain 1167
 
1168
            'chat/heart-beat',
1169
            'chat/create-group',
1170
            'chat/add-user-to-group',
1171
            'chat/mark-seen',
1172
            'chat/mark-received',
1173
            'chat/remove-user-from-group',
1174
            'chat/get-all-messages',
1175
            'chat/send',
1176
            'chat/get-contacts-availables-for-group',
1177
            'chat/get-contact-group-list',
1178
            'chat/leave-group',
1179
            'chat/delete-group',
1180
            'chat/close',
1181
            'chat/clear',
14692 efrain 1182
            'chat/open',
14587 efrain 1183
            'chat/upload',
14691 efrain 1184
            'csrf',
14587 efrain 1185
 
1 www 1186
        ],
15336 efrain 1187
 
1 www 1188
        UserType::USER => [
1189
            'home',
1190
            'signin-admin',
1191
            'signin-company',
1192
            'dashboard',
1193
            'signout',
1194
            'storage',
15336 efrain 1195
            'storage-network',
14610 efrain 1196
 
15088 efrain 1197
            'home',
1198
            'signin-admin',
1199
            'signin-company',
1200
            'dashboard',
1201
            'signout',
1202
            'storage',
1203
 
14587 efrain 1204
            'chat',
1205
            'chat/heart-beat',
1206
            'chat/create-group',
1207
            'chat/add-user-to-group',
1208
            'chat/mark-seen',
1209
            'chat/mark-received',
1210
            'chat/remove-user-from-group',
1211
            'chat/get-all-messages',
1212
            'chat/send',
1213
            'chat/get-contacts-availables-for-group',
1214
            'chat/get-contact-group-list',
1215
            'chat/leave-group',
1216
            'chat/delete-group',
1217
            'chat/close',
1218
            'chat/clear',
14692 efrain 1219
            'chat/open',
14588 efrain 1220
            'chat/upload',
14691 efrain 1221
            'csrf',
14610 efrain 1222
 
1223
 
1 www 1224
        ],
1225
        UserType::GUEST => [
1226
            'home',
1227
            'signin-admin',
1228
            'signin-company',
1229
            'signout',
15336 efrain 1230
            'storage-network',
1916 nelberth 1231
 
8536 efrain 1232
 
1 www 1233
        ],
1234
    ];
1235
}
1236
 
779 geraldo 1237
function getAclMenuSystem() {
1 www 1238
    return [
1239
        [
1240
            'label' => 'LABEL_HOME',
1241
            'route' => 'dashboard',
1242
            'class' => 'fa fa-home'
1243
        ],
15336 efrain 1244
 
1 www 1245
        [
15336 efrain 1246
            'label' => 'LABEL_PRIVATE_NETWORKS',
1247
            'route' => 'settings/private-networks',
1248
            'class' => 'fa fa-building',
1249
        ],
1250
 
1251
 
1252
        [
1253
            'label' => 'LABEL_MY_PRIVATE_NETWORK',
1254
            'route' => 'settings/my-private-network',
1255
            'class' => 'fa fa-building',
1256
            'pages' => [
1257
                [
1258
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_INTRO',
1259
                    'route' => 'settings/my-private-network/intro',
1260
                ],
1261
                [
1262
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_NAVBAR',
1263
                    'route' => 'settings/my-private-network/navbar',
1264
                ],
1265
                [
1266
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_FAVICO',
1267
                    'route' => 'settings/my-private-network/favicon',
1268
                ],
1269
                [
1270
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_LOGO',
1271
                    'route' => 'settings/my-private-network/logo',
1272
                ],
1273
                [
1274
                    'label' => 'LABEL_MY_PRIVATE_NETWORK_STYLES_AND_COLORS',
1275
                    'route' => 'settings/my-private-network/styles-and-colors',
1276
                ],
1277
 
1278
 
1279
            ],
1280
        ],
1281
 
1282
 
1283
        [
1 www 1284
            'label' => 'LABEL_COMPANIES',
1285
            'route' => 'companies',
1286
            'class' => 'fa fa-building',
1287
        ],
1288
        [
1289
            'label' => 'LABEL_SETTINGS',
1290
            'route' => 'settings',
1291
            'class' => 'fa fa-cog',
1292
            'pages' => [
1293
                [
1294
                    'label' => 'LABEL_JOB_CATEGORIES',
1295
                    'route' => 'settings/job-categories',
1296
                ],
1297
                [
1298
                    'label' => 'LABEL_COMPETENCIES',
1299
                    'route' => 'settings/competencies',
1300
                ],
1301
                [
14875 efrain 1302
                    'label' => 'LABEL_BEHAVIORS',
1303
                    'route' => 'settings/behaviors',
1304
                ],
1305
                [
1 www 1306
                    'label' => 'LABEL_EMAIL_TEMPLATES',
1307
                    'route' => 'settings/email-templates',
1308
                ],
1309
                [
1310
                    'label' => 'LABEL_PUSH_TEMPLATES',
1311
                    'route' => 'settings/push-templates',
1312
                ],
1313
                [
1314
                    'label' => 'LABEL_DEGREES',
1315
                    'route' => 'settings/degrees',
1316
                ],
1317
                [
1318
                    'label' => 'LABEL_SKILLS',
1319
                    'route' => 'settings/skills',
1320
                ],
1321
                [
1322
                    'label' => 'LABEL_INDUSTRIES',
1323
                    'route' => 'settings/industries',
1324
                ],
1325
                [
837 geraldo 1326
                    'label' => 'LABEL_JOBS_DESCRIPTION',
836 geraldo 1327
                    'route' => 'settings/jobs-description',
1328
                ],
1329
                [
1 www 1330
                    'label' => 'LABEL_COMPANY_SIZES',
1331
                    'route' => 'settings/company-sizes',
1332
                ],
1333
                [
1334
                    'label' => 'LABEL_COMPETENCY_TYPES',
1335
                    'route' => 'settings/competency-types',
1336
                ],
1337
                [
1338
                    'label' => 'LABEL_GROUP_TYPES',
1339
                    'route' => 'settings/group-types',
1340
                ],
1341
            ]
1342
        ],
1343
        [
1344
            'label' => 'LABEL_PUBLICATIONS',
1345
            'route' => 'publications',
1346
            'class' => 'fa fa-book',
1347
            'pages' => [
1348
                [
1349
                    'label' => 'LABEL_PAGES',
1350
                    'route' => 'publications/pages',
1351
                ],
1352
                [
1353
                    'label' => 'LABEL_POSTS',
1354
                    'route' => 'publications/posts',
1355
                ],
1356
            ]
1357
        ],
1358
        [
1359
            'label' => 'LABEL_USERS',
1360
            'route' => 'users',
1361
            'class' => 'fa fa-users',
779 geraldo 1362
        /* 'pages' => [
1363
          [
1364
          'label' => 'LABEL_PAGES',
1365
          'route' => 'publications/pages',
1366
          ],
1367
 
1368
          ] */
1 www 1369
        ],
1333 efrain 1370
 
1371
 
1372
 
1373
 
1374
        [
1 www 1375
            'label' => 'LABEL_LOGOUT',
1376
            'route' => 'signout',
1377
            'class' => 'fa fa-sign-out',
1378
        ]
779 geraldo 1379
    ];
1 www 1380
}
1381
 
779 geraldo 1382
function getAclMenuCompany() {
1383
 
1 www 1384
    return [
1385
        [
1386
            'label' => 'LABEL_HOME',
1387
            'route' => 'dashboard',
1388
            'class' => 'fa fa-home'
1389
        ],
1390
        [
1391
            'label' => 'LABEL_JOBS',
1392
            'route' => 'jobs',
1393
            'class' => 'fa fa-briefcase'
1394
        ],
1395
        [
1396
            'label' => 'LABEL_FEEDS',
1397
            'route' => 'feeds',
1398
            'class' => 'fa fa-rss'
1399
        ],
114 efrain 1400
        [
13672 nelberth 1401
            'label' => 'LABEL_INMAIL',
13524 nelberth 1402
            'route' => 'inmail',
13487 nelberth 1403
            'class' => 'fa fa-envelope-o'
1404
        ],
1405
 
1406
        [
114 efrain 1407
            'label' => 'LABEL_SELF_EVALUATION',
1408
            'route' => 'self-evaluation',
1409
            'class' => 'fa fa-book',
1410
            'pages' => [
1411
                [
1412
                    'label' => 'LABEL_FORMS',
1413
                    'route' => 'self-evaluation/forms',
1414
                ],
115 efrain 1415
                [
1416
                    'label' => 'LABEL_USERS',
1417
                    'route' => 'self-evaluation/users',
246 geraldo 1418
                ],
1419
                [
1420
                    'label' => 'LABEL_REVIEWS',
1421
                    'route' => 'self-evaluation/reviews',
245 geraldo 1422
                ]
779 geraldo 1423
            ],
1424
        ],
1 www 1425
        [
1426
            'label' => 'LABEL_MICRO_LEARNING',
1427
            'route' => 'microlearning',
1428
            'class' => 'fa fa-book',
1429
            'pages' => [
1430
                [
1431
                    'label' => 'LABEL_OVERVIEW',
1432
                    'route' => 'microlearning/overview',
1433
                ],
1434
                [
1435
                    'label' => 'LABEL_REPORTS',
1436
                    'route' => 'microlearning/reports',
2 efrain 1437
                    'pages' => [
1438
                        [
1439
                            'label' => 'LABEL_DEVICES',
1440
                            'route' => 'microlearning/reports/devices',
1441
                        ],
14626 efrain 1442
/*
2 efrain 1443
                        [
1444
                            'label' => 'LABEL_PROGRESS',
1445
                            'route' => 'microlearning/reports/progress',
1446
                        ],
14626 efrain 1447
*/
14610 efrain 1448
                        [
1449
                            'label' => 'LABEL_PROGRESS_FOR_CAPSULE',
1450
                            'route' => 'microlearning/reports/progress-for-capsule',
1451
                        ],
779 geraldo 1452
                    ],
1 www 1453
                ],
1454
                [
1455
                    'label' => 'LABEL_CONTENT',
1456
                    'route' => 'microlearning/content',
1457
                    'pages' => [
1458
                        [
66 efrain 1459
                            'label' => 'LABEL_QUIZZES',
1460
                            'route' => 'microlearning/content/quizzes',
1461
                        ],
1462
                        [
1 www 1463
                            'label' => 'LABEL_TOPICS',
1464
                            'route' => 'microlearning/content/topics',
1465
                        ],
1466
                        [
1467
                            'label' => 'LABEL_CAPSULES',
1468
                            'route' => 'microlearning/content/capsules',
1469
                        ],
1470
                        [
1471
                            'label' => 'LABEL_SLIDES',
1472
                            'route' => 'microlearning/content/slides',
1473
                        ],
1474
                    ]
1475
                ],
1476
                [
1477
                    'label' => 'LABEL_ACCESS_FOR_STUDENTS',
1478
                    'route' => 'microlearning/access-for-students',
1479
                ],
1480
                [
1481
                    'label' => 'LABEL_STUDENTS',
1482
                    'route' => 'microlearning/students',
1483
                ],
1484
                [
1485
                    'label' => 'LABEL_FILTERS',
1486
                    'route' => 'microlearning/settings',
1487
                    'pages' => [
1488
                        [
1489
                            'label' => 'LABEL_COMPANIES',
1490
                            'route' => 'microlearning/settings/companies',
1491
                        ],
1492
                        [
1493
                            'label' => 'LABEL_FUNCTIONS',
1494
                            'route' => 'microlearning/settings/functions',
1495
                        ],
1496
                        [
1497
                            'label' => 'LABEL_GROUPS',
1498
                            'route' => 'microlearning/settings/groups',
1499
                        ],
1500
                        [
1501
                            'label' => 'LABEL_INSTITUTIONS',
1502
                            'route' => 'microlearning/settings/institutions',
1503
                        ],
1504
                        [
1505
                            'label' => 'LABEL_PROGRAMS',
1506
                            'route' => 'microlearning/settings/programs',
1507
                        ],
1508
                        [
1509
                            'label' => 'LABEL_PARTNERS',
1510
                            'route' => 'microlearning/settings/partners',
1511
                        ],
1512
                        [
1513
                            'label' => 'LABEL_SECTORS',
1514
                            'route' => 'microlearning/settings/sectors',
1515
                        ],
1516
                        [
1517
                            'label' => 'LABEL_STUDENT_TYPES',
1518
                            'route' => 'microlearning/settings/student-types',
1519
                        ],
779 geraldo 1520
                    ],
1 www 1521
                ]
1522
            ]
1523
        ],
1524
        [
560 geraldo 1525
            'label' => 'LABEL_JOB_POSITION',
28 efrain 1526
            'route' => 'settings',
1527
            'class' => 'fa fa-book',
1528
            'pages' => [
1529
                [
66 efrain 1530
                    'label' => 'LABEL_JOBS_DESCRIPTION',
1531
                    'route' => 'settings/jobs-description',
28 efrain 1532
                ],
1533
                [
1534
                    'label' => 'LABEL_COMPETENCIES',
1535
                    'route' => 'settings/competencies',
1536
                ],
66 efrain 1537
                [
1538
                    'label' => 'LABEL_COMPETENCY_TYPES',
1539
                    'route' => 'settings/competency-types',
1540
                ],
67 efrain 1541
                [
14875 efrain 1542
                    'label' => 'LABEL_BEHAVIORS',
1543
                    'route' => 'settings/behaviors',
1544
                ],
1545
                [
67 efrain 1546
                    'label' => 'LABEL_POSITIONS',
1547
                    'route' => 'settings/positions',
1548
                ],
28 efrain 1549
            ]
779 geraldo 1550
        ],
22 steven 1551
        [
1090 geraldo 1552
            'label' => 'LABEL_PERFORMANCE_EVALUATION_MENU',
976 geraldo 1553
            'route' => 'performance-evaluation',
1554
            'class' => 'fa fa-book',
1555
            'pages' => [
1556
                [
1557
                    'label' => 'LABEL_FORMS',
1558
                    'route' => 'performance-evaluation/forms',
1559
                ],
1383 efrain 1560
 
976 geraldo 1561
                [
1383 efrain 1562
                    'label' => 'LABEL_TESTS',
1563
                    'route' => 'performance-evaluation/evaluations',
1564
                ]
976 geraldo 1565
            ],
946 geraldo 1566
        ],
1321 eleazar 1567
        [
1 www 1568
            'label' => 'LABEL_PROFILE',
1569
            'route' => 'profile',
1570
            'class' => 'fa fa-picture-o'
1571
        ],
1572
        [
1573
            'label' => 'LABEL_FOLLOWERS',
1574
            'route' => 'followers',
1575
            'class' => 'fa fa-heart'
1576
        ],
1577
        [
1578
            'label' => 'LABEL_USERS',
1579
            'route' => 'users',
1580
            'class' => 'fa fa-users',
1581
        ],
1334 efrain 1582
 
1 www 1583
        [
1334 efrain 1584
            'label' => 'LABEL_OWN_PROFESSIONAL_NETWORK',
1585
            'route' => 'own-professional-network',
1586
            'class' => 'fa fa-book',
1587
        ],
1588
 
1589
        [
1590
            'label' => 'LABEL_ORGANIZATIONAL_DESIGN',
1591
            'route' =>  'organizational-design',
1592
            'class' => 'fa fa-book',
1593
        ],
1594
 
8187 nelberth 1595
 
1334 efrain 1596
        [
8187 nelberth 1597
            'label' => 'LABEL_HIGH_PERFORMANCE_TEAMS',
12397 nelberth 1598
            'route' =>  'high-performance-teams/groups',
1689 nelberth 1599
            'class' => 'fa fa-street-view',
12397 nelberth 1600
 
1334 efrain 1601
        ],
1602
        [
12397 nelberth 1603
            'label' => 'LABEL_PLANNING_OBJECTIVES_AND_GOALS',
1604
            'route' => 'planning-objectives-and-goals/objectives',
1605
            'class' => 'fa fa-book',
1606
        ],
1607
        [
1334 efrain 1608
            'label' => 'LABEL_DEVELOPMENT_AND_TRAINING',
1609
            'route' => 'development-and-training',
1610
            'class' => 'fa fa-book',
1611
        ],
1612
 
13353 eleazar 1613
        [
1614
            'label' => 'LABEL_DEVELOPMENT_AND_CONTENT',
1615
            'route' => 'development-and-content',
1616
            'class' => 'fa fa-book',
1617
            'pages' => [
1618
                [
1619
                    'label' => 'LABEL_CATEGORIES',
1620
                    'route' =>  'development-and-content/category',
1621
                ],
15028 efrain 1622
 
13353 eleazar 1623
                [
13464 eleazar 1624
                    'label' => 'LABEL_CONTENT',
15028 efrain 1625
                    'route' =>  'development-and-content/listing',
13464 eleazar 1626
                ]
13353 eleazar 1627
 
1628
            ]
1629
        ],
1334 efrain 1630
 
1631
        [
1632
            'label' => 'LABEL_RECRUITMENT_AND_SELECTION',
1477 efrain 1633
            'route' => 'recruitment-and-selection',
1334 efrain 1634
            'class' => 'fa fa-book',
1342 eleazar 1635
            'pages' => [
1636
                [
1463 eleazar 1637
                    'label' => 'LABEL_VACANCIES',
1478 eleazar 1638
                    'route' => 'recruitment-and-selection/vacancies',
1342 eleazar 1639
                ],
1459 eleazar 1640
 
1641
                [
4241 eleazar 1642
                    'label' => 'LABEL_PRE_SELECTION',
1478 eleazar 1643
                    'route' => 'recruitment-and-selection/candidates',
1709 eleazar 1644
                ],
1645
                [
1646
                    'label' => 'LABEL_INTERVIEW',
4047 eleazar 1647
                    'route' => 'recruitment-and-selection/interview/form',
1648
 
1463 eleazar 1649
                ]
1342 eleazar 1650
             ],
1334 efrain 1651
        ],
1652
 
1653
        [
1654
            'label' => 'LABEL_INDUCTION',
1655
            'route' => 'induction',
1656
            'class' => 'fa fa-book',
1657
        ],
1658
 
1659
 
1660
        [
1661
            'label' => 'LABEL_ORGANIZATIONAL_CLIMATE',
1662
            'route' => 'organizational-climate',
1663
            'class' => 'fa fa-book',
7218 eleazar 1664
            'pages' => [
1665
                [
1666
                    'label' => 'LABEL_FORMS',
1667
                    'route' => 'organizational-climate/form',
1668
                ],
1669
                [
1670
                    'label' => 'LABEL_SURVEY',
1671
                    'route' => 'organizational-climate',
1672
                ],
1673
                [
1674
                    'label' => 'LABEL_SURVEY_TEST',
1675
                    'route' => 'organizational-climate/test',
1676
                ],
1677
                [
1678
                    'label' => 'LABEL_SURVEY_REPORT',
1679
                    'route' => 'organizational-climate/report',
1680
                ],
1681
            ]
1334 efrain 1682
        ],
1683
 
1684
        [
1685
            'label' => 'LABEL_CULTURE',
1686
            'route' =>  'culture',
1687
            'class' => 'fa fa-book',
1688
        ],
1689
 
1690
        [
1691
            'label' => 'LABEL_COMMUNICATION',
13969 nelberth 1692
            'route' =>  'communication/inbox',
13012 nelberth 1693
            'class' => 'fa fa-envelope',
13770 nelberth 1694
 
1695
 
1334 efrain 1696
        ],
1697
 
1698
        [
1699
            'label' => 'LABEL_CAREER_DEVELOPMENT',
1700
            'route' =>  'career-development',
1701
            'class' => 'fa fa-book',
1702
        ],
1703
 
1704
        [
1705
            'label' => 'LABEL_SURVEYS',
4375 eleazar 1706
            'route' =>  'survey',
1334 efrain 1707
            'class' => 'fa fa-book',
4374 eleazar 1708
            'pages' => [
1709
                [
1710
                    'label' => 'LABEL_FORMS',
4375 eleazar 1711
                    'route' => 'survey/form',
4374 eleazar 1712
                ],
4579 eleazar 1713
                [
1714
                    'label' => 'LABEL_SURVEY',
1715
                    'route' => 'survey',
1716
                ],
5287 eleazar 1717
                [
1718
                    'label' => 'LABEL_SURVEY_TEST',
1719
                    'route' => 'survey/test',
1720
                ],
5823 eleazar 1721
                [
1722
                    'label' => 'LABEL_SURVEY_REPORT',
1723
                    'route' => 'survey/report',
1724
                ],
4374 eleazar 1725
            ]
1334 efrain 1726
        ],
1727
 
1728
        [
1729
            'label' => 'LABEL_BUILDING_MY_FUTURE',
1730
            'route' =>  'building-my-future',
1731
            'class' => 'fa fa-book',
1732
        ],
1733
 
1734
 
4379 nelberth 1735
 
1334 efrain 1736
        [
1737
            'label' => 'LABEL_MY_TRAINER',
1738
            'route' => 'my-trainer',
1739
            'class' => 'fa fa-book',
8462 eleazar 1740
            'pages' => [
1741
                [
8465 eleazar 1742
                    'label' => 'LABEL_CATEGORIES',
8462 eleazar 1743
                    'route' =>  'my-trainer/category',
1744
                ],
1745
                [
8464 eleazar 1746
                    'label' => 'LABEL_QUESTIONS',
8462 eleazar 1747
                    'route' => 'my-trainer/question',
1748
                ],
10778 eleazar 1749
 
8462 eleazar 1750
            ]
1334 efrain 1751
        ],
1752
 
15355 efrain 1753
        [
1754
            'label' => 'LABEL_SETTINGS',
1755
            'route' => 'settings',
1756
            'class' => 'fa fa-cog',
1757
            'pages' => [
1758
                [
1759
                    'label' => 'LABEL_PUSH_TEMPLATES',
1760
                    'route' => 'settings/push-templates',
1761
                ],
1762
            ]
1763
        ],
1334 efrain 1764
 
1336 efrain 1765
 
15355 efrain 1766
 
1334 efrain 1767
        [
1 www 1768
            'label' => 'LABEL_LOGOUT',
1769
            'route' => 'signout',
1770
            'class' => 'fa fa-sign-out',
1771
        ]
1772
    ];
1773
}