Fix perm
This commit is contained in:
parent
fc91d8fc4e
commit
ad673b3207
@ -46,6 +46,14 @@ if (isset($user->socid) && $user->socid > 0) {
|
|||||||
$max = 5;
|
$max = 5;
|
||||||
$now = dol_now();
|
$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
|
* Actions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user