Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1394 Rev 1395
Línea 2... Línea 2...
2
$acl = $this->viewModel()->getRoot()->getVariable('acl');
2
$acl = $this->viewModel()->getRoot()->getVariable('acl');
3
$currentUser = $this->currentUserHelper();
3
$currentUser = $this->currentUserHelper();
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
$roleName = $currentUser->getUserTypeId();
5
$roleName = $currentUser->getUserTypeId();
6
 
6
 
7
$routeAdd = $this->url('recruitment-and-selection/forms/add');
7
$routeAdd = $this->url('recruitment-and-selection-vacancies/forms/add');
Línea 8... Línea 8...
8
$routeDatatable = $this->url('recruitment-and-selection/forms');
8
$routeDatatable = $this->url('recruitment-and-selection-vacancies/forms');
9
$routeDashboard = $this->url('dashboard');
9
$routeDashboard = $this->url('dashboard');
10
 
10
 
Línea 11... Línea 11...
11
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/forms/add') ? 1 : 0;
11
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection-vacancies/forms/add') ? 1 : 0;