Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1456 Rev 1477
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
$roleName = $currentUser->getUserTypeId();
-
 
6
 
-
 
7
$routeAdd = $this->url('recruitment-and-selection-vacancies/forms/add');
5
$roleName = $currentUser->getUserTypeId();
-
 
6
 
-
 
7
$routeDashboard = $this->url('dashboard');
Línea -... Línea 8...
-
 
8
$routeDatatable = $this->url('recruitment-and-selection/vacancies');
-
 
9
$routeAdd       = $this->url('recruitment-and-selection/vacancies/add');
8
$routeDatatable = $this->url('recruitment-and-selection-vacancies/forms');
10
 
9
$routeDashboard = $this->url('dashboard');
11
 
10
 
12
 
Línea 11... Línea 13...
11
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection-vacancies/forms/add') ? 1 : 0;
13
$allowAdd = $acl->isAllowed($roleName, 'recruitment-and-selection/vacancies/add') ? 1 : 0;