Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6945 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
553 geraldo 2
 
1 www 3
use LeadersLinked\Model\UserType;
4
 
5546 anderson 5
function getAclResources()
6
{
1 www 7
    return [
8
        'home',
9
        'onroom',
10
        'signin',
11
        'signin/facebook',
12
        'signin/twitter',
13
        'signin/google',
3639 efrain 14
        'signin/impersonate',
3298 efrain 15
        'share',
4778 efrain 16
        'share/increment-external-counter',
1 www 17
        'signout',
18
        'signup',
19
        'backend',
20
        'backend/signin-admin',
21
        'backend/signin-company',
3775 efrain 22
        'shorter',
23
        'shorter/generate',
210 efrain 24
        'csrf',
1 www 25
        'check-session',
5751 efrain 26
        'language',
3639 efrain 27
        'impersonate',
28
        'impersonate/execute',
1 www 29
        'notifications',
3262 efrain 30
        'notifications/mark-read',
31
        'notifications/mark-all-read',
32
        'notifications/delete',
33
        'notifications/clear',
34
        'notifications/unreads',
1 www 35
        'reset-password',
36
        'forgot-password',
37
        'activate-account',
38
        'professionalism-policy',
39
        'privacy-policy',
40
        'terms-and-conditions',
41
        'cookies',
42
        'help',
43
        'oauth',
44
        'oauth/facebook',
45
        'oauth/facebook/cancel',
46
        'oauth/facebook/delete',
47
        'oauth/twitter',
48
        'oauth/google',
49
        'oauth/instagram',
50
        'paypal',
51
        'paypal/success',
52
        'paypal/cancel',
53
        'services',
54
        'services/device',
55
        'services/check-session',
56
        'services/fcm',
57
        'services/signin',
58
        'services/signout',
59
        'services/sync',
60
        'services/sync-batch',
61
        'services/storage',
62
        'services/microlearning',
63
        'services/microlearning/refresh',
64
        'services/microlearning/check-changes',
280 efrain 65
        'services/microlearning/capsules',
66
        'services/microlearning/capsules/comments',
67
        'services/microlearning/capsules/comments/add',
68
        'services/microlearning/capsules/comments/delete',
1979 efrain 69
        'services/delete-account',
1 www 70
        'storage',
3639 efrain 71
        'storage-network',
1 www 72
        'dashboard',
73
        'post',
4808 efrain 74
        'post/comments',
75
        'post/comments/add',
76
        'post/comments/delete',
5765 efrain 77
        'post/save-reaction',
5780 efrain 78
        'post/delete-reaction',
5546 anderson 79
 
1 www 80
        'feed',
81
        'feed/timeline',
82
        'feed/add',
83
        'feed/delete',
84
        'feed/share',
85
        'feed/comment',
86
        'feed/comment/delete',
5765 efrain 87
        'feed/save-reaction',
5780 efrain 88
        'feed/delete-reaction',
6388 efrain 89
        'feed/vote',
1 www 90
        'connection',
91
        'connection/my-connections',
92
        'connection/people-you-may-know',
93
        'connection/people-blocked',
94
        'connection/people-blocked/delete',
95
        'connection/invitations-sent',
96
        'connection/invitations-received',
97
        'connection/request',
98
        'connection/approve',
99
        'connection/reject',
100
        'connection/block',
101
        'connection/cancel',
102
        'connection/delete',
103
        'connection/unblock',
104
        'account-settings',
105
        'account-settings/image',
106
        'account-settings/deactivate',
107
        'account-settings/notifications',
108
        'account-settings/password',
109
        'account-settings/social-networks',
110
        'account-settings/location',
111
        'account-settings/privacy',
112
        'account-settings/basic',
113
        'account-settings/browsers',
114
        'account-settings/ips',
115
        'account-settings/devices',
116
        'account-settings/transactions',
117
        'account-settings/transactions/add-funds',
118
        'account-settings/add-facebook',
119
        'account-settings/remove-facebook',
120
        'account-settings/add-twitter',
121
        'account-settings/remove-twitter',
122
        'account-settings/add-google',
123
        'account-settings/remove-google',
1979 efrain 124
        'account-settings/delete-account',
1 www 125
        'search',
126
        'search/company',
127
        'search/group',
128
        'search/job',
129
        'search/user',
130
        'moodle',
131
        'profile',
132
        'profile/self-evaluation',
133
        'profile/self-evaluation/take-a-test',
279 efrain 134
        'profile/self-evaluation/report',
553 geraldo 135
        'profile/performance-evaluation',
136
        'profile/performance-evaluation/take-a-test',
137
        'profile/performance-evaluation/report',
1 www 138
        'profile/microlearning',
139
        'profile/microlearning/timeline',
140
        'profile/microlearning/progress',
141
        'profile/view',
142
        'profile/people-viewed-profile',
143
        'profile/my-profiles',
144
        'profile/my-profiles/extended',
145
        'profile/my-profiles/cover',
146
        'profile/my-profiles/image',
147
        'profile/my-profiles/experience',
148
        'profile/my-profiles/education',
149
        'profile/my-profiles/language',
150
        'profile/my-profiles/location',
151
        'profile/my-profiles/skill',
152
        'profile/my-profiles/social-network',
3912 efrain 153
        'profile/my-profiles/aptitude',
154
        'profile/my-profiles/hobby-and-interest',
1 www 155
        'profile/my-profiles/add',
156
        'profile/my-profiles/edit',
157
        'profile/my-profiles/delete',
158
        'company',
159
        'company/my-companies',
160
        'company/my-companies/add',
161
        'company/following-companies',
162
        'company/view',
163
        'company/follow',
164
        'company/unfollow',
165
        'company/request',
166
        'company/reject',
167
        'company/accept',
168
        'company/cancel',
169
        'company/leave',
170
        'company/requests-sent',
171
        'company/invitations-received',
172
        'company/i-work-with',
173
        'group',
174
        'group/view',
175
        'group/request',
176
        'group/leave',
177
        'group/cancel',
1360 efrain 178
        'group/accept',
179
        'group/reject',
1 www 180
        'group/my-groups',
181
        'group/my-groups/accessibility',
182
        'group/my-groups/industry',
183
        'group/my-groups/extended',
184
        'group/my-groups/type',
185
        'group/my-groups/users',
186
        'group/my-groups/image',
187
        'group/my-groups/cover',
188
        'group/my-groups/website',
189
        'group/my-groups/privacy',
190
        'group/my-groups/add',
191
        'group/my-groups/edit',
192
        'group/my-groups/delete',
193
        'group/my-groups/status',
194
        'group/joined-groups',
195
        'group/requests-sent',
196
        'group/invitations-received',
197
        'group/members',
198
        'group/members/approve',
199
        'group/members/reject',
200
        'group/members/invite',
201
        'group/members/cancel',
202
        'job',
203
        'job/view',
204
        'job/applied-jobs',
205
        'job/apply-job',
206
        'job/remove-apply-job',
207
        'job/saved-jobs',
208
        'job/save-job',
209
        'job/remove-save-job',
210
        'inmail',
211
        'inmail/block',
212
        'inmail/delete',
213
        'inmail/message',
214
        'inmail/message/send',
215
        'inmail/message/delete',
216
        'chat',
4857 efrain 217
        'chat/users',
1 www 218
        'chat/heart-beat',
219
        'chat/create-group',
220
        'chat/add-user-to-group',
221
        'chat/mark-seen',
222
        'chat/mark-received',
223
        'chat/remove-user-from-group',
224
        'chat/get-all-messages',
225
        'chat/send',
226
        'chat/get-contacts-availables-for-group',
227
        'chat/get-contact-group-list',
228
        'chat/leave-group',
229
        'chat/delete-group',
230
        'chat/close',
231
        'chat/clear',
3121 efrain 232
        'chat/open',
1 www 233
        'chat/upload',
4113 efrain 234
        'chat/zoom',
5343 efrain 235
        'chat/open-or-create',
5546 anderson 236
 
1 www 237
        'helpers',
238
        'helpers/search-people',
239
        'helpers/posts',
240
        'helpers/people-you-may-know',
241
        'helpers/people-viewed-profile',
242
        'helpers/company-follower',
243
        'helpers/company-suggestion',
244
        'helpers/group-members',
245
        'helpers/group-members/invite',
246
        'helpers/group-members/cancel',
247
        'helpers/group-members/reject',
248
        'helpers/group-members/approve',
249
        'helpers/groups-suggestion',
3298 efrain 250
        'helpers/my-groups',
2444 efrain 251
        'helpers/footer',
4179 efrain 252
        'helpers/next-events',
6605 efrain 253
        'helpers/menu',
6749 efrain 254
        'helpers/company-sizes',
255
        'helpers/degrees',
256
        'helpers/languages',
257
        'helpers/skills',
258
        'helpers/aptitudes',
259
        'helpers/hobbies',
6878 efrain 260
        'helpers/industries',
6945 efrain 261
        'helpers/timezones',
6605 efrain 262
 
263
 
6749 efrain 264
 
1 www 265
        'marketplace',
266
        'marketplace/categories',
267
        'marketplace/enroll',
5223 efrain 268
        'marketplace/claim',
1 www 269
        'marketplace/join',
270
        'marketplace/buy',
7159 efrain 271
 
4113 efrain 272
        'calendar',
273
        'calendar/events',
6521 efrain 274
 
5951 efrain 275
        'knowledge-area',
276
        'knowledge-area/add',
277
        'knowledge-area/edit',
278
        'knowledge-area/delete',
279
        'knowledge-area/view',
6056 efrain 280
        'knowledge-area/comments',
281
        'knowledge-area/comments/add',
282
        'knowledge-area/comments/delete',
283
        'knowledge-area/save-reaction',
284
        'knowledge-area/delete-reaction',
5951 efrain 285
 
5050 efrain 286
        'my-coach',
6388 efrain 287
        'my-coach/questions',
288
        'my-coach/questions/view',
289
        'my-coach/questions/add',
290
        'my-coach/questions/edit',
291
        'my-coach/questions/delete',
292
        'my-coach/questions/answers',
293
        'my-coach/questions/answers/add',
294
        'my-coach/questions/answers/edit',
295
        'my-coach/questions/answers/delete',
296
        'my-coach/questions/reaction',
297
        'my-coach/questions/reaction/save',
298
        'my-coach/questions/reaction/delete',
299
        'my-coach/questions/comments',
300
        'my-coach/questions/comments/add',
301
        'my-coach/questions/comments/delete',
5751 efrain 302
 
5205 efrain 303
        'daily-pulse',
304
        'daily-pulse/how_are_you_feel',
305
        'daily-pulse/climate_on_your_organization',
1 www 306
    ];
307
}
308
 
5546 anderson 309
function getAclSuperAdmin()
310
{
3639 efrain 311
    return [
312
        'impersonate',
313
        'impersonate/execute',
5546 anderson 314
    ];
3639 efrain 315
}
316
 
5546 anderson 317
function getAclUsertypeDefaultNetwork()
3639 efrain 318
{
319
    return [
320
        UserType::ADMIN => [
321
            'company',
322
            'company/my-companies',
323
            'company/my-companies/add',
324
            'company/following-companies',
325
            'company/view',
326
            'company/follow',
327
            'company/unfollow',
328
            'company/request',
329
            'company/reject',
330
            'company/accept',
331
            'company/cancel',
332
            'company/leave',
333
            'company/requests-sent',
334
            'company/invitations-received',
335
            'company/i-work-with',
336
            'search',
337
            'search/company',
5546 anderson 338
        ],
3639 efrain 339
        UserType::USER => [
340
            'company',
341
            'company/my-companies',
342
            'company/my-companies/add',
343
            'company/following-companies',
344
            'company/view',
345
            'company/follow',
346
            'company/unfollow',
347
            'company/request',
348
            'company/reject',
349
            'company/accept',
350
            'company/cancel',
351
            'company/leave',
352
            'company/requests-sent',
353
            'company/invitations-received',
354
            'company/i-work-with',
355
            'search',
356
            'search/company',
5546 anderson 357
        ],
3639 efrain 358
    ];
359
}
360
 
361
 
362
function getAclUsertypeOtherNetworkCreator()
363
{
364
    return [
365
        'company',
366
        'company/my-companies',
367
        'company/view',
3674 efrain 368
 
3639 efrain 369
    ];
370
}
371
 
372
function getAclUsertypeOtherNetworkNonCreator()
373
{
374
    return [
375
        'company',
376
        'company/i-work-with',
377
        'company/view',
378
    ];
379
}
380
 
381
 
5205 efrain 382
function getAclDailyPulse()
383
{
384
    return [
385
        'daily-pulse',
386
        'daily-pulse/how_are_you_feel',
387
        'daily-pulse/climate_on_your_organization',
388
    ];
389
}
3639 efrain 390
 
5951 efrain 391
function getAclKnowledgeArea()
392
{
393
    return [
394
 
395
        'knowledge-area',
396
        'knowledge-area/add',
397
        'knowledge-area/edit',
398
        'knowledge-area/delete',
399
        'knowledge-area/view',
6056 efrain 400
        'knowledge-area/comments',
401
        'knowledge-area/comments/add',
402
        'knowledge-area/comments/delete',
403
        'knowledge-area/save-reaction',
404
        'knowledge-area/delete-reaction'
5951 efrain 405
    ];
406
}
5205 efrain 407
 
6388 efrain 408
function getAclMyCoach()
409
{
410
    return [
411
        'my-coach',
412
        'my-coach/questions',
413
        'my-coach/questions/view',
414
        'my-coach/questions/add',
415
        'my-coach/questions/edit',
416
        'my-coach/questions/delete',
417
        'my-coach/questions/answers',
418
        'my-coach/questions/answers/add',
419
        'my-coach/questions/answers/edit',
420
        'my-coach/questions/answers/delete',
421
        'my-coach/questions/reaction',
422
        'my-coach/questions/reaction/save',
423
        'my-coach/questions/reaction/delete',
424
        'my-coach/questions/comments',
425
        'my-coach/questions/comments/add',
426
        'my-coach/questions/comments/delete',
427
    ];
428
}
5205 efrain 429
 
5951 efrain 430
 
6388 efrain 431
 
5546 anderson 432
function getAclUsertype()
433
{
1 www 434
    return [
435
        UserType::ADMIN => [
436
            'home',
3298 efrain 437
            'share',
4778 efrain 438
            'share/increment-external-counter',
1 www 439
            'onroom',
5751 efrain 440
            'language',
1 www 441
            'signin',
442
            'signin/facebook',
443
            'signin/twitter',
444
            'signin/google',
3639 efrain 445
            'signin/impersonate',
1 www 446
            'signout',
447
            'signup',
210 efrain 448
            'csrf',
1 www 449
            'check-session',
3775 efrain 450
            'shorter',
451
            'shorter/generate',
5546 anderson 452
 
1 www 453
            'notifications',
3262 efrain 454
            'notifications/mark-read',
455
            'notifications/mark-all-read',
456
            'notifications/delete',
457
            'notifications/clear',
458
            'notifications/unreads',
5546 anderson 459
 
1 www 460
            'reset-password',
461
            'forgot-password',
462
            'professionalism-policy',
463
            'activate-account',
464
            'privacy-policy',
465
            'terms-and-conditions',
466
            'cookies',
467
            'backend',
468
            'backend/signin-admin',
469
            'backend/signin-company',
470
            'oauth',
471
            'oauth/facebook',
472
            'oauth/facebook/cancel',
473
            'oauth/facebook/delete',
474
            'oauth/twitter',
475
            'oauth/google',
476
            'oauth/instagram',
477
            'paypal',
478
            'paypal/success',
479
            'paypal/cancel',
480
            'services',
481
            'services/device',
482
            'services/check-session',
483
            'services/fcm',
484
            'services/signin',
485
            'services/signout',
486
            'services/sync',
487
            'services/sync-batch',
488
            'services/storage',
489
            'services/microlearning',
490
            'services/microlearning/refresh',
491
            'services/microlearning/check-changes',
280 efrain 492
            'services/microlearning/capsules',
493
            'services/microlearning/capsules/comments',
494
            'services/microlearning/capsules/comments/add',
495
            'services/microlearning/capsules/comments/delete',
1979 efrain 496
            'services/delete-account',
1 www 497
            'storage',
3639 efrain 498
            'storage-network',
1 www 499
            'dashboard',
500
            'post',
4808 efrain 501
            'post/comments',
502
            'post/comments/add',
503
            'post/comments/delete',
5765 efrain 504
            'post/save-reaction',
5780 efrain 505
            'post/delete-reaction',
1 www 506
            'feed',
507
            'feed/timeline',
508
            'feed/add',
509
            'feed/delete',
510
            'feed/share',
511
            'feed/comment',
512
            'feed/comment/delete',
5765 efrain 513
            'feed/save-reaction',
5780 efrain 514
            'feed/delete-reaction',
6388 efrain 515
            'feed/vote',
1 www 516
            'connection',
517
            'connection/my-connections',
518
            'connection/people-you-may-know',
519
            'connection/people-blocked',
520
            'connection/people-blocked/delete',
521
            'connection/invitations-sent',
522
            'connection/invitations-received',
523
            'connection/request',
524
            'connection/approve',
525
            'connection/reject',
526
            'connection/block',
527
            'connection/cancel',
528
            'connection/delete',
529
            'connection/unblock',
530
            'account-settings',
531
            'account-settings/image',
532
            'account-settings/deactivate',
533
            'account-settings/notifications',
534
            'account-settings/password',
535
            'account-settings/social-networks',
536
            'account-settings/location',
537
            'account-settings/privacy',
538
            'account-settings/basic',
539
            'account-settings/browsers',
540
            'account-settings/ips',
541
            'account-settings/devices',
542
            'account-settings/transactions',
543
            'account-settings/transactions/add-funds',
544
            'account-settings/add-facebook',
545
            'account-settings/remove-facebook',
546
            'account-settings/add-twitter',
547
            'account-settings/remove-twitter',
548
            'account-settings/add-google',
549
            'account-settings/remove-google',
1979 efrain 550
            'account-settings/delete-account',
1 www 551
            'search',
552
            'search/group',
553
            'search/job',
554
            'search/user',
555
            'moodle',
556
            'profile',
557
            'profile/self-evaluation',
558
            'profile/self-evaluation/take-a-test',
279 efrain 559
            'profile/self-evaluation/report',
554 geraldo 560
            'profile/performance-evaluation',
561
            'profile/performance-evaluation/take-a-test',
562
            'profile/performance-evaluation/report',
1 www 563
            'profile/microlearning',
564
            'profile/microlearning/timeline',
565
            'profile/microlearning/progress',
566
            'profile/view',
567
            'profile/people-viewed-profile',
568
            'profile/my-profiles',
569
            'profile/my-profiles/extended',
570
            'profile/my-profiles/cover',
571
            'profile/my-profiles/image',
572
            'profile/my-profiles/experience',
573
            'profile/my-profiles/education',
574
            'profile/my-profiles/language',
575
            'profile/my-profiles/location',
576
            'profile/my-profiles/skill',
577
            'profile/my-profiles/social-network',
3912 efrain 578
            'profile/my-profiles/aptitude',
579
            'profile/my-profiles/hobby-and-interest',
1 www 580
            'profile/my-profiles/add',
581
            'profile/my-profiles/edit',
582
            'profile/my-profiles/delete',
3639 efrain 583
 
1 www 584
            'group',
585
            'group/view',
586
            'group/request',
587
            'group/leave',
588
            'group/cancel',
1360 efrain 589
            'group/accept',
590
            'group/reject',
1 www 591
            'group/my-groups',
592
            'group/my-groups/accessibility',
593
            'group/my-groups/industry',
594
            'group/my-groups/extended',
595
            'group/my-groups/type',
596
            'group/my-groups/users',
597
            'group/my-groups/image',
598
            'group/my-groups/cover',
599
            'group/my-groups/website',
600
            'group/my-groups/privacy',
601
            'group/my-groups/add',
602
            'group/my-groups/edit',
603
            'group/my-groups/delete',
604
            'group/my-groups/status',
605
            'group/joined-groups',
606
            'group/requests-sent',
607
            'group/invitations-received',
608
            'group/members',
609
            'group/members/approve',
610
            'group/members/reject',
611
            'group/members/invite',
612
            'group/members/cancel',
613
            'job',
614
            'job/view',
615
            'job/applied-jobs',
616
            'job/apply-job',
617
            'job/remove-apply-job',
618
            'job/saved-jobs',
619
            'job/save-job',
620
            'job/remove-save-job',
621
            'inmail',
622
            'inmail/block',
623
            'inmail/delete',
624
            'inmail/message',
625
            'inmail/message/send',
626
            'inmail/message/delete',
627
            'chat',
4857 efrain 628
            'chat/users',
1 www 629
            'chat/heart-beat',
630
            'chat/create-group',
631
            'chat/add-user-to-group',
632
            'chat/mark-seen',
633
            'chat/mark-received',
634
            'chat/remove-user-from-group',
635
            'chat/get-all-messages',
636
            'chat/send',
637
            'chat/get-contacts-availables-for-group',
638
            'chat/get-contact-group-list',
639
            'chat/leave-group',
640
            'chat/delete-group',
641
            'chat/close',
642
            'chat/clear',
3121 efrain 643
            'chat/open',
1 www 644
            'chat/upload',
4113 efrain 645
            'chat/zoom',
5343 efrain 646
            'chat/open-or-create',
5546 anderson 647
 
1 www 648
            'help',
649
            'helpers',
650
            'helpers/search-people',
651
            'helpers/posts',
652
            'helpers/people-you-may-know',
653
            'helpers/people-viewed-profile',
654
            'helpers/company-follower',
655
            'helpers/company-suggestion',
656
            'helpers/group-members',
657
            'helpers/group-members/invite',
658
            'helpers/group-members/cancel',
659
            'helpers/group-members/reject',
660
            'helpers/group-members/approve',
661
            'helpers/groups-suggestion',
3298 efrain 662
            'helpers/my-groups',
2444 efrain 663
            'helpers/footer',
4179 efrain 664
            'helpers/next-events',
6605 efrain 665
            'helpers/menu',
6749 efrain 666
            'helpers/company-sizes',
667
            'helpers/degrees',
668
            'helpers/languages',
669
            'helpers/skills',
670
            'helpers/aptitudes',
671
            'helpers/hobbies',
6878 efrain 672
            'helpers/industries',
6945 efrain 673
            'helpers/timezones',
6605 efrain 674
 
1 www 675
            'marketplace',
676
            'marketplace/categories',
677
            'marketplace/enroll',
5223 efrain 678
            'marketplace/claim',
1 www 679
            'marketplace/join',
680
            'marketplace/buy',
4113 efrain 681
 
682
            'calendar',
683
            'calendar/events',
5546 anderson 684
 
5837 efrain 685
/*
686
            'zoom',
687
            'zoom/add',
688
            'zoom/delete',
689
            'zoom/listing',
690
            */
1 www 691
        ],
692
        UserType::USER => [
693
            'home',
694
            'onroom',
5751 efrain 695
            'language',
3298 efrain 696
            'share',
4778 efrain 697
            'share/increment-external-counter',
1 www 698
            'signin',
699
            'signin/facebook',
700
            'signin/twitter',
701
            'signin/google',
3639 efrain 702
            'signin/impersonate',
1 www 703
            'signout',
704
            'signup',
210 efrain 705
            'csrf',
1 www 706
            'check-session',
3775 efrain 707
            'shorter',
708
            'shorter/generate',
1 www 709
            'notifications',
3262 efrain 710
            'notifications/mark-read',
711
            'notifications/mark-all-read',
712
            'notifications/delete',
713
            'notifications/clear',
714
            'notifications/unreads',
1 www 715
            'professionalism-policy',
716
            'reset-password',
717
            'forgot-password',
718
            'activate-account',
719
            'privacy-policy',
720
            'terms-and-conditions',
721
            'cookies',
722
            'backend',
723
            'backend/signin-company',
724
            'oauth',
725
            'oauth/facebook',
726
            'oauth/facebook/cancel',
727
            'oauth/facebook/delete',
728
            'oauth/twitter',
729
            'oauth/google',
730
            'oauth/instagram',
731
            'paypal',
732
            'paypal/success',
733
            'paypal/cancel',
734
            'services',
735
            'services/device',
736
            'services/check-session',
737
            'services/fcm',
738
            'services/signin',
1323 efrain 739
            'services/signout',
1 www 740
            'services/sync',
741
            'services/sync-batch',
742
            'services/storage',
743
            'services/microlearning',
744
            'services/microlearning/refresh',
745
            'services/microlearning/check-changes',
280 efrain 746
            'services/microlearning/capsules',
747
            'services/microlearning/capsules/comments',
748
            'services/microlearning/capsules/comments/add',
749
            'services/microlearning/capsules/comments/delete',
1979 efrain 750
            'services/delete-account',
1 www 751
            'storage',
3639 efrain 752
            'storage-network',
1 www 753
            'dashboard',
754
            'post',
4808 efrain 755
            'post/comments',
756
            'post/comments/add',
757
            'post/comments/delete',
5765 efrain 758
            'post/save-reaction',
5780 efrain 759
            'post/delete-reaction',
1 www 760
            'feed',
761
            'feed/timeline',
762
            'feed/add',
763
            'feed/delete',
764
            'feed/share',
765
            'feed/comment',
766
            'feed/comment/delete',
5765 efrain 767
            'feed/save-reaction',
5780 efrain 768
            'feed/delete-reaction',
6388 efrain 769
            'feed/vote',
1 www 770
            'connection',
771
            'connection/my-connections',
772
            'connection/people-you-may-know',
773
            'connection/people-blocked',
774
            'connection/people-blocked/delete',
775
            'connection/invitations-sent',
776
            'connection/invitations-received',
777
            'connection/request',
778
            'connection/approve',
779
            'connection/reject',
780
            'connection/block',
781
            'connection/cancel',
782
            'connection/delete',
783
            'connection/unblock',
784
            'account-settings',
785
            'account-settings/image',
786
            'account-settings/deactivate',
787
            'account-settings/notifications',
788
            'account-settings/password',
789
            'account-settings/social-networks',
790
            'account-settings/location',
791
            'account-settings/privacy',
792
            'account-settings/basic',
793
            'account-settings/browsers',
794
            'account-settings/ips',
795
            'account-settings/devices',
796
            'account-settings/transactions',
797
            'account-settings/transactions/add-funds',
798
            'account-settings/add-facebook',
799
            'account-settings/remove-facebook',
800
            'account-settings/add-twitter',
801
            'account-settings/remove-twitter',
802
            'account-settings/add-google',
803
            'account-settings/remove-google',
1979 efrain 804
            'account-settings/delete-account',
1 www 805
            'search',
806
            'search/group',
807
            'search/job',
808
            'search/user',
809
            'moodle',
810
            'profile',
811
            'profile/self-evaluation',
812
            'profile/self-evaluation/take-a-test',
279 efrain 813
            'profile/self-evaluation/report',
554 geraldo 814
            'profile/performance-evaluation',
815
            'profile/performance-evaluation/take-a-test',
816
            'profile/performance-evaluation/report',
1 www 817
            'profile/microlearning',
818
            'profile/microlearning/timeline',
819
            'profile/microlearning/progress',
820
            'profile/view',
821
            'profile/people-viewed-profile',
822
            'profile/my-profiles',
823
            'profile/my-profiles/extended',
824
            'profile/my-profiles/cover',
825
            'profile/my-profiles/image',
826
            'profile/my-profiles/experience',
827
            'profile/my-profiles/education',
828
            'profile/my-profiles/language',
829
            'profile/my-profiles/location',
830
            'profile/my-profiles/skill',
831
            'profile/my-profiles/social-network',
3912 efrain 832
            'profile/my-profiles/aptitude',
833
            'profile/my-profiles/hobby-and-interest',
1 www 834
            'profile/my-profiles/add',
835
            'profile/my-profiles/edit',
836
            'profile/my-profiles/delete',
837
            'group',
838
            'group/view',
839
            'group/request',
840
            'group/leave',
841
            'group/cancel',
1360 efrain 842
            'group/accept',
843
            'group/reject',
1 www 844
            'group/my-groups',
845
            'group/my-groups/accessibility',
846
            'group/my-groups/industry',
847
            'group/my-groups/extended',
848
            'group/my-groups/type',
849
            'group/my-groups/users',
850
            'group/my-groups/image',
851
            'group/my-groups/cover',
852
            'group/my-groups/website',
853
            'group/my-groups/privacy',
854
            'group/my-groups/add',
855
            'group/my-groups/edit',
856
            'group/my-groups/delete',
857
            'group/my-groups/status',
858
            'group/joined-groups',
859
            'group/requests-sent',
860
            'group/invitations-received',
861
            'group/members',
862
            'group/members/approve',
863
            'group/members/reject',
864
            'group/members/invite',
865
            'group/members/cancel',
866
            'job',
867
            'job/view',
868
            'job/applied-jobs',
869
            'job/apply-job',
870
            'job/remove-apply-job',
871
            'job/saved-jobs',
872
            'job/save-job',
873
            'job/remove-save-job',
874
            'inmail',
875
            'inmail/block',
876
            'inmail/delete',
877
            'inmail/message',
878
            'inmail/message/send',
879
            'inmail/message/delete',
880
            'chat',
4857 efrain 881
            'chat/users',
1 www 882
            'chat/heart-beat',
883
            'chat/create-group',
884
            'chat/add-user-to-group',
885
            'chat/mark-seen',
886
            'chat/mark-received',
887
            'chat/remove-user-from-group',
888
            'chat/get-all-messages',
889
            'chat/send',
890
            'chat/get-contacts-availables-for-group',
891
            'chat/get-contact-group-list',
892
            'chat/leave-group',
893
            'chat/delete-group',
894
            'chat/close',
895
            'chat/clear',
3121 efrain 896
            'chat/open',
1 www 897
            'chat/upload',
4113 efrain 898
            'chat/zoom',
5343 efrain 899
            'chat/open-or-create',
5546 anderson 900
 
1 www 901
            'help',
902
            'helpers',
903
            'helpers/search-people',
904
            'helpers/posts',
905
            'helpers/people-you-may-know',
906
            'helpers/people-viewed-profile',
907
            'helpers/company-follower',
908
            'helpers/company-suggestion',
909
            'helpers/group-members',
910
            'helpers/group-members/invite',
911
            'helpers/group-members/cancel',
912
            'helpers/group-members/reject',
913
            'helpers/group-members/approve',
914
            'helpers/groups-suggestion',
3298 efrain 915
            'helpers/my-groups',
2444 efrain 916
            'helpers/footer',
4179 efrain 917
            'helpers/next-events',
6605 efrain 918
            'helpers/menu',
6749 efrain 919
            'helpers/company-sizes',
920
            'helpers/degrees',
921
            'helpers/languages',
922
            'helpers/skills',
923
            'helpers/aptitudes',
924
            'helpers/hobbies',
6878 efrain 925
            'helpers/industries',
6945 efrain 926
            'helpers/timezones',
6605 efrain 927
 
1 www 928
            'marketplace',
929
            'marketplace/categories',
930
            'marketplace/enroll',
5223 efrain 931
            'marketplace/claim',
1 www 932
            'marketplace/join',
933
            'marketplace/buy',
4113 efrain 934
 
935
            'calendar',
936
            'calendar/events',
5546 anderson 937
 
5837 efrain 938
            /*
939
            'zoom',
940
            'zoom/add',
941
            'zoom/delete',
942
            'zoom/listing',*/
1 www 943
        ],
944
        UserType::GUEST => [
945
            'home',
946
            'onroom',
5751 efrain 947
            'language',
3349 efrain 948
            'share',
1 www 949
            'signin',
950
            'signin/facebook',
951
            'signin/twitter',
952
            'signin/google',
3639 efrain 953
            'signin/impersonate',
1 www 954
            'signout',
955
            'signup',
956
            'check-session',
3775 efrain 957
            'shorter',
1 www 958
            'notifications',
3262 efrain 959
            'notifications/mark-read',
960
            'notifications/mark-all-read',
961
            'notifications/delete',
962
            'notifications/clear',
963
            'notifications/unreads',
1 www 964
            'professionalism-policy',
965
            'reset-password',
966
            'forgot-password',
967
            'activate-account',
968
            'privacy-policy',
969
            'terms-and-conditions',
970
            'cookies',
2581 efrain 971
            'csrf',
1 www 972
            'oauth',
973
            'oauth/facebook',
974
            'oauth/facebook/cancel',
975
            'oauth/facebook/delete',
976
            'oauth/twitter',
977
            'oauth/google',
978
            'oauth/instagram',
979
            'paypal',
980
            'paypal/success',
981
            'paypal/cancel',
3639 efrain 982
            'storage-network',
1 www 983
            'services',
984
            'services/device',
985
            'services/check-session',
986
            'services/fcm',
987
            'services/signin',
988
            'services/signout',
989
            'services/sync',
990
            'services/sync-batch',
5546 anderson 991
 
5837 efrain 992
            /*
993
            'zoom',
994
            'zoom/add',
995
            'zoom/delete',
996
            'zoom/listing',*/
1 www 997
        ],
1979 efrain 998
        UserType::USER_DELETED => [
999
            'home',
5751 efrain 1000
            'language',
1979 efrain 1001
            'signin',
1002
            'signin/facebook',
1003
            'signin/twitter',
1004
            'signin/google',
1005
            'signout',
1006
            'signup',
1007
            'check-session',
1008
            'notifications',
3262 efrain 1009
            'notifications/mark-read',
1010
            'notifications/mark-all-read',
1011
            'notifications/delete',
1012
            'notifications/clear',
1013
            'notifications/unreads',
1979 efrain 1014
            'professionalism-policy',
1015
            'reset-password',
1016
            'forgot-password',
1017
            'activate-account',
1018
            'privacy-policy',
1019
            'terms-and-conditions',
1020
            'cookies',
1021
            'oauth',
2581 efrain 1022
            'csrf',
3775 efrain 1023
            'shorter',
1979 efrain 1024
            'oauth/facebook',
1025
            'oauth/facebook/cancel',
1026
            'oauth/facebook/delete',
1027
            'oauth/twitter',
1028
            'oauth/google',
1029
            'oauth/instagram',
2002 efrain 1030
            'services',
1031
            'services/device',
1032
            'services/check-session',
1033
            'services/fcm',
1034
            'services/signin',
1035
            'services/signout',
1036
            'services/sync',
1037
            'services/sync-batch',
1979 efrain 1038
        ],
1 www 1039
    ];
1040
}
4842 efrain 1041
 
1042
function getAclMenuDefaultNetworkConnectionUser2User()
1043
{
1044
    return [
1045
        [
1046
            'label' => 'LABEL_HOME',
1047
            'route' => 'dashboard',
1048
            'class' => '/images/navbar/home.svg',
1049
        ],
1050
        [
1051
            'label' => 'LABEL_PROFILE',
1052
            'route' => 'profile',
1053
            'class' => '/images/navbar/perfil.svg',
1054
            'pages' => [
1055
                [
1056
                    'label' => 'LABEL_CONNECTIONS',
1057
                    'route' => 'connection',
1058
                    //'class' =>'/images/navbar/conexion.svg',
1059
                    'pages' => [
1060
                        [
1061
                            'label' => 'LABEL_MY_CONNECTIONS',
1062
                            'route' => 'connection/my-connections'
1063
                        ],
1064
                        [
1065
                            'label' => 'LABEL_INVITATIONS_SENT',
1066
                            'route' => 'connection/invitations-sent'
1067
                        ],
1068
                        [
1069
                            'label' => 'LABEL_INVITATIONS_RECEIVED',
1070
                            'route' => 'connection/invitations-received'
1071
                        ],
1072
                        [
1073
                            'label' => 'LABEL_PEOPLE_YOU_MAY_KNOW',
1074
                            'route' => 'connection/people-you-may-know'
1075
                        ],
1076
                        [
1077
                            'label' => 'LABEL_PEOPLE_BLOCKED',
1078
                            'route' => 'connection/people-blocked'
1079
                        ],
5546 anderson 1080
 
1081
 
4842 efrain 1082
                    ]
1083
                ],
1084
                [
1085
                    'label' => 'LABEL_MY_PROFILES',
1086
                    'route' => 'profile/my-profiles'
1087
                ],
1088
                [
6685 efrain 1089
                    'label' => 'LABEL_JOBS',
1090
                    'route' => 'job',
1091
                    'pages' => [
1092
                        [
1093
                            'label' => 'LABEL_JOBS_APPLIED',
1094
                            'route' => 'job/applied-jobs'
1095
                        ],
1096
                        [
1097
                            'label' => 'LABEL_JOBS_SAVED',
1098
                            'route' => 'job/saved-jobs'
1099
                        ],
1100
                    ]
4842 efrain 1101
                ],
6685 efrain 1102
 
1103
 
4842 efrain 1104
                [
1105
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
1106
                    'route' => 'profile/people-viewed-profile'
1107
                ],
5546 anderson 1108
 
4842 efrain 1109
            ]
1110
        ],
5546 anderson 1111
 
1112
 
4842 efrain 1113
        [
1114
            'label' => 'LABEL_COMPANIES',
1115
            'route' => 'company',
1116
            'class' => '/images/navbar/empresa.svg',
1117
            'pages' => [
1118
                [
1119
                    'label' => 'LABEL_MY_COMPANIES',
1120
                    'route' => 'company/my-companies'
1121
                ],
1122
                [
1123
                    'label' => 'LABEL_COMPANIES_I_FOLLOW',
1124
                    'route' => 'company/following-companies'
1125
                ],
1126
                [
1127
                    'label' => 'LABEL_COMPANIES_I_WORK_WITH',
1128
                    'route' => 'company/i-work-with'
1129
                ],
1130
                [
1131
                    'label' => 'LABEL_REQUESTS_SENT',
1132
                    'route' => 'company/requests-sent'
1133
                ],
1134
                [
1135
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
1136
                    'route' => 'company/invitations-received'
1137
                ]
1138
            ]
1139
        ],
5546 anderson 1140
 
4842 efrain 1141
        [
1142
            'label' => 'LABEL_GROUPS',
1143
            'route' => 'group',
1144
            'class' => '/images/navbar/grupos.svg',
1145
            'pages' => [
1146
                [
1147
                    'label' => 'LABEL_MY_GROUPS',
1148
                    'route' => 'group/my-groups'
1149
                ],
1150
                [
1151
                    'label' => 'LABEL_JOINED_GROUPS',
1152
                    'route' => 'group/joined-groups'
1153
                ],
1154
                [
1155
                    'label' => 'LABEL_REQUESTS_SENT',
1156
                    'route' => 'group/requests-sent'
1157
                ],
1158
                [
1159
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
1160
                    'route' => 'group/invitations-received'
1161
                ]
1162
            ]
1163
        ],
1164
        [
1165
            'label' => 'LABEL_MARKETPLACE',
1166
            'route' => 'marketplace',
1167
            'class' => '/images/navbar/market-place.svg',
1168
        ],
1169
        [
1170
            'label' => 'LABEL_CALENDAR',
1171
            'route' => 'calendar',
1172
            'class' => '/images/navbar/calendar.svg',
1173
        ],
5546 anderson 1174
 
1175
 
1176
 
1177
 
1178
 
1179
 
1180
 
1181
 
4842 efrain 1182
        /* [
1183
         'label' => 'LABEL_MESSAGES',
1184
         'route' => 'inmail',
1185
         'class' => 'fa fa-envelope',
1186
         ],
1187
         [
1188
         'label' => 'LABEL_NOTIFICATIONS',
1189
         'route' => 'dashboard',
1190
         'class' => 'fa fa-bolt',
1191
         ], */
1192
    ];
1193
}
1194
 
1195
function getAclMenuDefaultNetworkConnectionAll2All()
1196
{
1197
    return [
1198
        [
1199
            'label' => 'LABEL_HOME',
1200
            'route' => 'dashboard',
1201
            'class' => '/images/navbar/home.svg',
1202
        ],
1203
        [
1204
            'label' => 'LABEL_PROFILE',
1205
            'route' => 'profile',
1206
            'class' => '/images/navbar/perfil.svg',
1207
            'pages' => [
1208
                [
1209
                    'label' => 'LABEL_MY_CONNECTIONS',
5546 anderson 1210
                    'route' => 'connection/my-connections',
4842 efrain 1211
                ],
1212
                [
1213
                    'label' => 'LABEL_MY_PROFILES',
1214
                    'route' => 'profile/my-profiles'
1215
                ],
1216
                [
1217
                    'label' => 'LABEL_JOBS_APPLIED',
1218
                    'route' => 'job/applied-jobs'
1219
                ],
1220
                [
1221
                    'label' => 'LABEL_JOBS_SAVED',
1222
                    'route' => 'job/saved-jobs'
1223
                ],
1224
                [
1225
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
1226
                    'route' => 'profile/people-viewed-profile'
1227
                ],
5546 anderson 1228
 
4842 efrain 1229
            ]
1230
        ],
5546 anderson 1231
 
1232
 
4842 efrain 1233
        [
1234
            'label' => 'LABEL_COMPANIES',
1235
            'route' => 'company',
1236
            'class' => '/images/navbar/empresa.svg',
1237
            'pages' => [
1238
                [
1239
                    'label' => 'LABEL_MY_COMPANIES',
1240
                    'route' => 'company/my-companies'
1241
                ],
1242
                [
1243
                    'label' => 'LABEL_COMPANIES_I_FOLLOW',
1244
                    'route' => 'company/following-companies'
1245
                ],
1246
                [
1247
                    'label' => 'LABEL_COMPANIES_I_WORK_WITH',
1248
                    'route' => 'company/i-work-with'
1249
                ],
1250
                [
1251
                    'label' => 'LABEL_REQUESTS_SENT',
1252
                    'route' => 'company/requests-sent'
1253
                ],
1254
                [
1255
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
1256
                    'route' => 'company/invitations-received'
1257
                ]
1258
            ]
1259
        ],
5546 anderson 1260
 
4842 efrain 1261
        [
1262
            'label' => 'LABEL_GROUPS',
1263
            'route' => 'group',
1264
            'class' => '/images/navbar/grupos.svg',
1265
            'pages' => [
1266
                [
1267
                    'label' => 'LABEL_MY_GROUPS',
1268
                    'route' => 'group/my-groups'
1269
                ],
1270
                [
1271
                    'label' => 'LABEL_JOINED_GROUPS',
1272
                    'route' => 'group/joined-groups'
1273
                ],
1274
                [
1275
                    'label' => 'LABEL_REQUESTS_SENT',
1276
                    'route' => 'group/requests-sent'
1277
                ],
1278
                [
1279
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
1280
                    'route' => 'group/invitations-received'
1281
                ]
1282
            ]
1283
        ],
1284
        [
1285
            'label' => 'LABEL_MARKETPLACE',
1286
            'route' => 'marketplace',
1287
            'class' => '/images/navbar/market-place.svg',
1288
        ],
1289
        [
1290
            'label' => 'LABEL_CALENDAR',
1291
            'route' => 'calendar',
1292
            'class' => '/images/navbar/calendar.svg',
1293
        ],
5546 anderson 1294
 
1295
 
1296
 
1297
 
1298
 
1299
 
1300
 
1301
 
4842 efrain 1302
        /* [
1303
         'label' => 'LABEL_MESSAGES',
1304
         'route' => 'inmail',
1305
         'class' => 'fa fa-envelope',
1306
         ],
1307
         [
1308
         'label' => 'LABEL_NOTIFICATIONS',
1309
         'route' => 'dashboard',
1310
         'class' => 'fa fa-bolt',
1311
         ], */
1312
    ];
1313
}
1314
 
1315
function getAclMenuNonDefaulNetworkConnectionUser2User()
1316
{
1317
    return [
1318
        [
1319
            'label' => 'LABEL_HOME',
1320
            'route' => 'dashboard',
1321
            'class' => '/images/navbar/home.svg',
1322
        ],
1323
        [
1324
            'label' => 'LABEL_PROFILE',
1325
            'route' => 'profile',
1326
            'class' => '/images/navbar/perfil.svg',
1327
            'pages' => [
1328
                [
1329
                    'label' => 'LABEL_CONNECTIONS',
1330
                    'route' => 'connection',
1331
                    //'class' =>'/images/navbar/conexion.svg',
1332
                    'pages' => [
1333
                        [
1334
                            'label' => 'LABEL_MY_CONNECTIONS',
1335
                            'route' => 'connection/my-connections'
1336
                        ],
1337
                        [
1338
                            'label' => 'LABEL_INVITATIONS_SENT',
1339
                            'route' => 'connection/invitations-sent'
1340
                        ],
1341
                        [
1342
                            'label' => 'LABEL_INVITATIONS_RECEIVED',
1343
                            'route' => 'connection/invitations-received'
1344
                        ],
1345
                        [
1346
                            'label' => 'LABEL_PEOPLE_YOU_MAY_KNOW',
1347
                            'route' => 'connection/people-you-may-know'
1348
                        ],
1349
                        [
1350
                            'label' => 'LABEL_PEOPLE_BLOCKED',
1351
                            'route' => 'connection/people-blocked'
1352
                        ],
5546 anderson 1353
 
1354
 
4842 efrain 1355
                    ]
1356
                ],
1357
                [
1358
                    'label' => 'LABEL_MY_PROFILES',
1359
                    'route' => 'profile/my-profiles'
1360
                ],
1361
                [
1362
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
1363
                    'route' => 'profile/people-viewed-profile'
1364
                ],
5546 anderson 1365
 
4842 efrain 1366
            ]
1367
        ],
5546 anderson 1368
 
4842 efrain 1369
        [
1370
            'label' => 'LABEL_COMPANY',
1371
            'route' => 'company',
1372
            'class' => '/images/navbar/empresa.svg',
5546 anderson 1373
 
4842 efrain 1374
        ],
5546 anderson 1375
 
4842 efrain 1376
        [
1377
            'label' => 'LABEL_GROUPS',
1378
            'route' => 'group',
1379
            'class' => '/images/navbar/grupos.svg',
1380
            'pages' => [
1381
                [
1382
                    'label' => 'LABEL_MY_GROUPS',
1383
                    'route' => 'group/my-groups'
1384
                ],
1385
                [
1386
                    'label' => 'LABEL_JOINED_GROUPS',
1387
                    'route' => 'group/joined-groups'
1388
                ],
1389
                [
1390
                    'label' => 'LABEL_REQUESTS_SENT',
1391
                    'route' => 'group/requests-sent'
1392
                ],
1393
                [
1394
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
1395
                    'route' => 'group/invitations-received'
1396
                ]
1397
            ]
1398
        ],
1399
        [
1400
            'label' => 'LABEL_MARKETPLACE',
1401
            'route' => 'marketplace',
1402
            'class' => '/images/navbar/market-place.svg',
1403
        ],
1404
        [
1405
            'label' => 'LABEL_CALENDAR',
1406
            'route' => 'calendar',
1407
            'class' => '/images/navbar/calendar.svg',
1408
        ],
5546 anderson 1409
 
1410
 
1411
 
1412
 
1413
 
1414
 
1415
 
1416
 
4842 efrain 1417
        /* [
1418
         'label' => 'LABEL_MESSAGES',
1419
         'route' => 'inmail',
1420
         'class' => 'fa fa-envelope',
1421
         ],
1422
         [
1423
         'label' => 'LABEL_NOTIFICATIONS',
1424
         'route' => 'dashboard',
1425
         'class' => 'fa fa-bolt',
1426
         ], */
1427
    ];
1428
}
1429
 
1430
function getAclMenuNonDefaultNetworkConnectionAll2All()
1431
{
1432
    return [
1433
        [
1434
            'label' => 'LABEL_HOME',
1435
            'route' => 'dashboard',
1436
            'class' => '/images/navbar/home.svg',
1437
        ],
1438
        [
1439
            'label' => 'LABEL_PROFILE',
1440
            'route' => 'profile',
1441
            'class' => '/images/navbar/perfil.svg',
1442
            'pages' => [
1443
                [
1444
                    'label' => 'LABEL_MY_CONNECTIONS',
1445
                    'route' => 'connection/my-connections'
1446
                ],
1447
                [
1448
                    'label' => 'LABEL_MY_PROFILES',
1449
                    'route' => 'profile/my-profiles'
1450
                ],
1451
                [
1452
                    'label' => 'LABEL_WHO_HAS_SEEN_MY_PROFILE',
1453
                    'route' => 'profile/people-viewed-profile'
1454
                ],
5546 anderson 1455
 
4842 efrain 1456
            ]
1457
        ],
5546 anderson 1458
 
4842 efrain 1459
        [
1460
            'label' => 'LABEL_COMPANY',
1461
            'route' => 'company',
1462
            'class' => '/images/navbar/empresa.svg',
5546 anderson 1463
 
4842 efrain 1464
        ],
5546 anderson 1465
 
1466
 
4842 efrain 1467
        [
1468
            'label' => 'LABEL_GROUPS',
1469
            'route' => 'group',
1470
            'class' => '/images/navbar/grupos.svg',
1471
            'pages' => [
1472
                [
1473
                    'label' => 'LABEL_MY_GROUPS',
1474
                    'route' => 'group/my-groups'
1475
                ],
1476
                [
1477
                    'label' => 'LABEL_JOINED_GROUPS',
1478
                    'route' => 'group/joined-groups'
1479
                ],
1480
                [
1481
                    'label' => 'LABEL_REQUESTS_SENT',
1482
                    'route' => 'group/requests-sent'
1483
                ],
1484
                [
1485
                    'label' => 'LABEL_INVITATIONS_RECEIVED',
1486
                    'route' => 'group/invitations-received'
1487
                ]
1488
            ]
1489
        ],
1490
        [
1491
            'label' => 'LABEL_MARKETPLACE',
1492
            'route' => 'marketplace',
1493
            'class' => '/images/navbar/market-place.svg',
1494
        ],
1495
        [
1496
            'label' => 'LABEL_CALENDAR',
1497
            'route' => 'calendar',
1498
            'class' => '/images/navbar/calendar.svg',
1499
        ],
5546 anderson 1500
 
1501
 
1502
 
1503
 
1504
 
1505
 
1506
 
1507
 
4842 efrain 1508
        /* [
1509
         'label' => 'LABEL_MESSAGES',
1510
         'route' => 'inmail',
1511
         'class' => 'fa fa-envelope',
1512
         ],
1513
         [
1514
         'label' => 'LABEL_NOTIFICATIONS',
1515
         'route' => 'dashboard',
1516
         'class' => 'fa fa-bolt',
1517
         ], */
1518
    ];
1519
}