This commit is contained in:
Laurent Destailleur 2022-09-08 14:16:21 +02:00
parent fc91d8fc4e
commit ad673b3207

View File

@ -46,6 +46,14 @@ if (isset($user->socid) && $user->socid > 0) {
$max = 5;
$now = dol_now();
// Security check (enable the most restrictive one)
//if ($user->socid > 0) accessforbidden();
//if ($user->socid > 0) $socid = $user->socid;
// if (! $user->hasRights('mymodule', 'myobject', 'read')) {
// accessforbidden();
// }
restrictedArea($user, 'recruitment', 0, 'recruitment_recruitmentjobposition', 'recruitmentjobposition', '', 'rowid');
/*
* Actions