Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 280 Rev 553
Línea 1... Línea 1...
1
<?php
1
<?php
-
 
2
 
2
use LeadersLinked\Model\UserType;
3
use LeadersLinked\Model\UserType;
Línea 3... Línea 4...
3
 
4
 
4
function getAclResources()
-
 
5
{
5
function getAclResources() {
6
    return [
6
    return [
7
        'home',
7
        'home',
8
        'onroom',
8
        'onroom',
9
        'signin',
9
        'signin',
Línea 115... Línea 115...
115
        'moodle',
115
        'moodle',
116
        'profile',
116
        'profile',
117
        'profile/self-evaluation',
117
        'profile/self-evaluation',
118
        'profile/self-evaluation/take-a-test',
118
        'profile/self-evaluation/take-a-test',
119
        'profile/self-evaluation/report',
119
        'profile/self-evaluation/report',
-
 
120
        'profile/performance-evaluation',
-
 
121
        'profile/performance-evaluation/take-a-test',
-
 
122
        'profile/performance-evaluation/report',
120
        'profile/microlearning',
123
        'profile/microlearning',
121
        'profile/microlearning/timeline',
124
        'profile/microlearning/timeline',
122
        'profile/microlearning/progress',
125
        'profile/microlearning/progress',
123
        'profile/view',
126
        'profile/view',
124
        'profile/people-viewed-profile',
127
        'profile/people-viewed-profile',
Línea 225... Línea 228...
225
        'marketplace',
228
        'marketplace',
226
        'marketplace/categories',
229
        'marketplace/categories',
227
        'marketplace/enroll',
230
        'marketplace/enroll',
228
        'marketplace/join',
231
        'marketplace/join',
229
        'marketplace/buy',
232
        'marketplace/buy',
230
        
-
 
231
        
-
 
232
        
-
 
233
    ];
233
    ];
234
}
234
}
Línea 235... Línea 235...
235
 
235
 
236
function getAclUsertype()
-
 
237
{
236
function getAclUsertype() {
238
    return [
237
    return [
239
        UserType::ADMIN => [
238
        UserType::ADMIN => [
240
            'home',
239
            'home',
241
            'onroom',
240
            'onroom',
Línea 384... Línea 383...
384
            'group',
383
            'group',
385
            'group/view',
384
            'group/view',
386
            'group/request',
385
            'group/request',
387
            'group/leave',
386
            'group/leave',
388
            'group/cancel',
387
            'group/cancel',
389
           // 'group/accept',
388
            // 'group/accept',
390
            //'group/reject',
389
            //'group/reject',
391
            'group/my-groups',
390
            'group/my-groups',
392
            'group/my-groups/accessibility',
391
            'group/my-groups/accessibility',
393
            'group/my-groups/industry',
392
            'group/my-groups/industry',
394
            'group/my-groups/extended',
393
            'group/my-groups/extended',
Línea 539... Línea 538...
539
            'connection/reject',
538
            'connection/reject',
540
            'connection/block',
539
            'connection/block',
541
            'connection/cancel',
540
            'connection/cancel',
542
            'connection/delete',
541
            'connection/delete',
543
            'connection/unblock',
542
            'connection/unblock',
544
 
-
 
545
            'account-settings',
543
            'account-settings',
546
            'account-settings/image',
544
            'account-settings/image',
547
            'account-settings/deactivate',
545
            'account-settings/deactivate',
548
            'account-settings/notifications',
546
            'account-settings/notifications',
549
            'account-settings/password',
547
            'account-settings/password',
Línea 608... Línea 606...
608
            'group',
606
            'group',
609
            'group/view',
607
            'group/view',
610
            'group/request',
608
            'group/request',
611
            'group/leave',
609
            'group/leave',
612
            'group/cancel',
610
            'group/cancel',
613
           // 'group/accept',
611
            // 'group/accept',
614
           // 'group/reject',
612
            // 'group/reject',
615
            'group/my-groups',
613
            'group/my-groups',
616
            'group/my-groups/accessibility',
614
            'group/my-groups/accessibility',
617
            'group/my-groups/industry',
615
            'group/my-groups/industry',
618
            'group/my-groups/extended',
616
            'group/my-groups/extended',
619
            'group/my-groups/type',
617
            'group/my-groups/type',
Línea 728... Línea 726...
728
            'services/sync',
726
            'services/sync',
729
            'services/sync-batch',
727
            'services/sync-batch',
730
        ],
728
        ],
731
    ];
729
    ];
732
}
730
}
733
 
-