Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 4569 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4569 Rev 4570
Línea 104... Línea 104...
104
                
104
                
105
                
105
                
106
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
106
                $acl = $this->getEvent()->getViewModel()->getVariable('acl');
107
                $allowEdit = $acl->isAllowed($currentUser->usertype_id, 'high-performance-teams/my-groups/edit');
107
                $allowEdit = $acl->isAllowed($currentUser->usertype_id, 'high-performance-teams/my-groups/edit');
Línea 108... Línea 108...
108
                $allowDelete = $acl->isAllowed($currentUser->usertype_id, 'high-performance-teams/my-groups/delete');
108
                $allowDelete = $acl->isAllowed($currentUser->usertype_id, 'high-performance-teams/my-groups/delete');
109
                $allowGroup = $acl->isAllowed($currentUser->usertype_id, 'high-performance-teams/my-groups/view');
109
                $allowGroup = $acl->isAllowed($currentUser->usertype_id, 'high-performance-teams/my-groups/group');
Línea 142... Línea 142...
142
                        'description' => $record->description,
142
                        'description' => $record->description,
143
                        'status'=> $record->status,
143
                        'status'=> $record->status,
144
                        'actions' => [
144
                        'actions' => [
145
                            'link_edit' => $allowEdit ? $this->url()->fromRoute('high-performance-teams/my-groups/edit', ['id' => $record->uuid]) : '',
145
                            'link_edit' => $allowEdit ? $this->url()->fromRoute('high-performance-teams/my-groups/edit', ['id' => $record->uuid]) : '',
146
                            'link_delete' => $allowDelete ? $this->url()->fromRoute('high-performance-teams/my-groups/delete', ['id' => $record->uuid]) : '',
146
                            'link_delete' => $allowDelete ? $this->url()->fromRoute('high-performance-teams/my-groups/delete', ['id' => $record->uuid]) : '',
-
 
147
                            'link_group' => $allowDelete ? $this->url()->fromRoute('high-performance-teams/my-groups/group', ['id' => $record->uuid]) : '',
Línea 147... Línea 148...
147
                           
148
                           
Línea 148... Línea 149...
148
                        ]
149
                        ]
149
 
150