Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3349 | Rev 3674 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3349 Rev 3639
Línea 8... Línea 8...
8
        'onroom',
8
        'onroom',
9
        'signin',
9
        'signin',
10
        'signin/facebook',
10
        'signin/facebook',
11
        'signin/twitter',
11
        'signin/twitter',
12
        'signin/google',
12
        'signin/google',
13
        'signin/admin',
-
 
14
        'signin/company',
13
        'signin/impersonate',
15
        'share',
14
        'share',
16
        'signout',
15
        'signout',
17
        'signup',
16
        'signup',
18
        'backend',
17
        'backend',
19
        'backend/signin-admin',
18
        'backend/signin-admin',
20
        'backend/signin-company',
19
        'backend/signin-company',
21
        'csrf',
20
        'csrf',
22
        'check-session',
21
        'check-session',
-
 
22
        'impersonate',
-
 
23
        'impersonate/execute',
23
        'notifications',
24
        'notifications',
24
        'notifications/mark-read',
25
        'notifications/mark-read',
25
        'notifications/mark-all-read',
26
        'notifications/mark-all-read',
26
        'notifications/delete',
27
        'notifications/delete',
27
        'notifications/clear',
28
        'notifications/clear',
Línea 60... Línea 61...
60
        'services/microlearning/capsules/comments',
61
        'services/microlearning/capsules/comments',
61
        'services/microlearning/capsules/comments/add',
62
        'services/microlearning/capsules/comments/add',
62
        'services/microlearning/capsules/comments/delete',
63
        'services/microlearning/capsules/comments/delete',
63
        'services/delete-account',
64
        'services/delete-account',
64
        'storage',
65
        'storage',
-
 
66
        'storage-network',
65
        'dashboard',
67
        'dashboard',
66
        'dashboard2',
68
        'dashboard2',
67
        'post',
69
        'post',
68
        'feed',
70
        'feed',
69
        'feed/timeline',
71
        'feed/timeline',
Línea 236... Línea 238...
236
        'marketplace/join',
238
        'marketplace/join',
237
        'marketplace/buy',
239
        'marketplace/buy',
238
    ];
240
    ];
239
}
241
}
Línea -... Línea 242...
-
 
242
 
-
 
243
function getAclSuperAdmin() {
-
 
244
    return [
-
 
245
        'impersonate',
-
 
246
        'impersonate/execute',
-
 
247
    ];  
-
 
248
    
-
 
249
}
-
 
250
 
-
 
251
function getAclUsertypeDefaultNetwork() 
-
 
252
{
-
 
253
    return [
-
 
254
        UserType::ADMIN => [
-
 
255
            'company',
-
 
256
            'company/my-companies',
-
 
257
            'company/my-companies/add',
-
 
258
            'company/following-companies',
-
 
259
            'company/view',
-
 
260
            'company/follow',
-
 
261
            'company/unfollow',
-
 
262
            'company/request',
-
 
263
            'company/reject',
-
 
264
            'company/accept',
-
 
265
            'company/cancel',
-
 
266
            'company/leave',
-
 
267
            'company/requests-sent',
-
 
268
            'company/invitations-received',
-
 
269
            'company/i-work-with',
-
 
270
            'search',
-
 
271
            'search/company',
-
 
272
        ]  ,
-
 
273
        UserType::USER => [
-
 
274
            'company',
-
 
275
            'company/my-companies',
-
 
276
            'company/my-companies/add',
-
 
277
            'company/following-companies',
-
 
278
            'company/view',
-
 
279
            'company/follow',
-
 
280
            'company/unfollow',
-
 
281
            'company/request',
-
 
282
            'company/reject',
-
 
283
            'company/accept',
-
 
284
            'company/cancel',
-
 
285
            'company/leave',
-
 
286
            'company/requests-sent',
-
 
287
            'company/invitations-received',
-
 
288
            'company/i-work-with',
-
 
289
            'search',
-
 
290
            'search/company',
-
 
291
        ]  ,
-
 
292
    ];
-
 
293
}
-
 
294
 
-
 
295
 
-
 
296
function getAclUsertypeOtherNetworkCreator()
-
 
297
{
-
 
298
    return [
-
 
299
        'company',
-
 
300
        'company/my-companies',
-
 
301
        'company/view',
-
 
302
        UserType::USER => [
-
 
303
            'company',
-
 
304
            'company/i-work-with',
-
 
305
            'search',
-
 
306
            'search/company',
-
 
307
        ]  ,
-
 
308
    ];
-
 
309
}
-
 
310
 
-
 
311
function getAclUsertypeOtherNetworkNonCreator()
-
 
312
{
-
 
313
    return [
-
 
314
        'company',
-
 
315
        'company/i-work-with',
-
 
316
        'company/view',
-
 
317
    ];
-
 
318
}
-
 
319
 
-
 
320
 
240
 
321
 
241
function getAclUsertype() {
322
function getAclUsertype() {
242
    return [
323
    return [
243
        UserType::ADMIN => [
324
        UserType::ADMIN => [
244
            'home',
325
            'home',
245
            'share',
326
            'share',
246
            'onroom',
327
            'onroom',
247
            'signin',
328
            'signin',
248
            'signin/facebook',
329
            'signin/facebook',
249
            'signin/twitter',
330
            'signin/twitter',
250
            'signin/google',
-
 
251
            'signin/admin',
331
            'signin/google',
252
            'signin/company',
332
            'signin/impersonate',
253
            'signout',
333
            'signout',
254
            'signup',
334
            'signup',
255
            'csrf',
335
            'csrf',
256
            'check-session',
336
            'check-session',
Línea 297... Línea 377...
297
            'services/microlearning/capsules/comments',
377
            'services/microlearning/capsules/comments',
298
            'services/microlearning/capsules/comments/add',
378
            'services/microlearning/capsules/comments/add',
299
            'services/microlearning/capsules/comments/delete',
379
            'services/microlearning/capsules/comments/delete',
300
            'services/delete-account',
380
            'services/delete-account',
301
            'storage',
381
            'storage',
-
 
382
            'storage-network',
302
            'dashboard',
383
            'dashboard',
303
            'dashboard2',
384
            'dashboard2',
304
            'post',
385
            'post',
305
            'feed',
386
            'feed',
306
            'feed/timeline',
387
            'feed/timeline',
Línea 345... Línea 426...
345
            'account-settings/remove-twitter',
426
            'account-settings/remove-twitter',
346
            'account-settings/add-google',
427
            'account-settings/add-google',
347
            'account-settings/remove-google',
428
            'account-settings/remove-google',
348
            'account-settings/delete-account',
429
            'account-settings/delete-account',
349
            'search',
430
            'search',
350
            'search/company',
-
 
351
            'search/group',
431
            'search/group',
352
            'search/job',
432
            'search/job',
353
            'search/user',
433
            'search/user',
354
            'moodle',
434
            'moodle',
355
            'profile',
435
            'profile',
Línea 375... Línea 455...
375
            'profile/my-profiles/skill',
455
            'profile/my-profiles/skill',
376
            'profile/my-profiles/social-network',
456
            'profile/my-profiles/social-network',
377
            'profile/my-profiles/add',
457
            'profile/my-profiles/add',
378
            'profile/my-profiles/edit',
458
            'profile/my-profiles/edit',
379
            'profile/my-profiles/delete',
459
            'profile/my-profiles/delete',
380
            'company',
-
 
381
            'company/my-companies',
-
 
382
            'company/my-companies/add',
-
 
383
            'company/following-companies',
-
 
384
            'company/view',
-
 
385
            'company/follow',
-
 
386
            'company/unfollow',
-
 
387
            'company/request',
-
 
388
            'company/reject',
-
 
389
            'company/accept',
-
 
390
            'company/cancel',
-
 
391
            'company/leave',
-
 
-
 
460
 
392
            'company/requests-sent',
-
 
393
            'company/invitations-received',
-
 
394
            'company/i-work-with',
-
 
395
            'group',
461
            'group',
396
            'group/view',
462
            'group/view',
397
            'group/request',
463
            'group/request',
398
            'group/leave',
464
            'group/leave',
399
            'group/cancel',
465
            'group/cancel',
Línea 480... Línea 546...
480
            'share',
546
            'share',
481
            'signin',
547
            'signin',
482
            'signin/facebook',
548
            'signin/facebook',
483
            'signin/twitter',
549
            'signin/twitter',
484
            'signin/google',
550
            'signin/google',
485
            'signin/admin',
-
 
486
            'signin/company',
551
            'signin/impersonate',
487
            'signout',
552
            'signout',
488
            'signup',
553
            'signup',
489
            'csrf',
554
            'csrf',
490
            'check-session',
555
            'check-session',
491
            'notifications',
556
            'notifications',
Línea 529... Línea 594...
529
            'services/microlearning/capsules/comments',
594
            'services/microlearning/capsules/comments',
530
            'services/microlearning/capsules/comments/add',
595
            'services/microlearning/capsules/comments/add',
531
            'services/microlearning/capsules/comments/delete',
596
            'services/microlearning/capsules/comments/delete',
532
            'services/delete-account',
597
            'services/delete-account',
533
            'storage',
598
            'storage',
-
 
599
            'storage-network',
534
            'dashboard',
600
            'dashboard',
535
            'dashboard2',
601
            'dashboard2',
536
            'post',
602
            'post',
537
            'feed',
603
            'feed',
538
            'feed/timeline',
604
            'feed/timeline',
Línea 577... Línea 643...
577
            'account-settings/remove-twitter',
643
            'account-settings/remove-twitter',
578
            'account-settings/add-google',
644
            'account-settings/add-google',
579
            'account-settings/remove-google',
645
            'account-settings/remove-google',
580
            'account-settings/delete-account',
646
            'account-settings/delete-account',
581
            'search',
647
            'search',
582
            'search/company',
-
 
583
            'search/group',
648
            'search/group',
584
            'search/job',
649
            'search/job',
585
            'search/user',
650
            'search/user',
586
            'moodle',
651
            'moodle',
587
            'profile',
652
            'profile',
Línea 607... Línea 672...
607
            'profile/my-profiles/skill',
672
            'profile/my-profiles/skill',
608
            'profile/my-profiles/social-network',
673
            'profile/my-profiles/social-network',
609
            'profile/my-profiles/add',
674
            'profile/my-profiles/add',
610
            'profile/my-profiles/edit',
675
            'profile/my-profiles/edit',
611
            'profile/my-profiles/delete',
676
            'profile/my-profiles/delete',
612
            'company',
-
 
613
            'company/my-companies',
-
 
614
            'company/my-companies/add',
-
 
615
            'company/following-companies',
-
 
616
            'company/view',
-
 
617
            'company/follow',
-
 
618
            'company/unfollow',
-
 
619
            'company/request',
-
 
620
            'company/reject',
-
 
621
            'company/accept',
-
 
622
            'company/cancel',
-
 
623
            'company/leave',
-
 
624
            'company/requests-sent',
-
 
625
            'company/invitations-received',
-
 
626
            'company/i-work-with',
-
 
627
            'group',
677
            'group',
628
            'group/view',
678
            'group/view',
629
            'group/request',
679
            'group/request',
630
            'group/leave',
680
            'group/leave',
631
            'group/cancel',
681
            'group/cancel',
Línea 712... Línea 762...
712
            'share',
762
            'share',
713
            'signin',
763
            'signin',
714
            'signin/facebook',
764
            'signin/facebook',
715
            'signin/twitter',
765
            'signin/twitter',
716
            'signin/google',
766
            'signin/google',
717
            'signin/admin',
-
 
718
            'signin/company',
767
            'signin/impersonate',
719
            'signout',
768
            'signout',
720
            'signup',
769
            'signup',
721
            'check-session',
770
            'check-session',
722
            'notifications',
771
            'notifications',
723
            'notifications/mark-read',
772
            'notifications/mark-read',
Línea 741... Línea 790...
741
            'oauth/google',
790
            'oauth/google',
742
            'oauth/instagram',
791
            'oauth/instagram',
743
            'paypal',
792
            'paypal',
744
            'paypal/success',
793
            'paypal/success',
745
            'paypal/cancel',
794
            'paypal/cancel',
-
 
795
            'storage-network',
746
            'services',
796
            'services',
747
            'services/device',
797
            'services/device',
748
            'services/check-session',
798
            'services/check-session',
749
            'services/fcm',
799
            'services/fcm',
750
            'services/signin',
800
            'services/signin',
Línea 756... Línea 806...
756
            'home',
806
            'home',
757
            'signin',
807
            'signin',
758
            'signin/facebook',
808
            'signin/facebook',
759
            'signin/twitter',
809
            'signin/twitter',
760
            'signin/google',
810
            'signin/google',
761
            'signin/admin',
-
 
762
            'signin/company',
-
 
763
            'signout',
811
            'signout',
764
            'signup',
812
            'signup',
765
            'check-session',
813
            'check-session',
766
            'notifications',
814
            'notifications',
767
            'notifications/mark-read',
815
            'notifications/mark-read',