Merge pull request #165 from grandoc/develop
try to fix create issue...but not enought
This commit is contained in:
commit
6a3587adb5
@ -70,7 +70,7 @@ if ($rowid > 0)
|
|||||||
$caneditfielduser=( (($user->id == $object->user_id) && $user->rights->user->self->creer)
|
$caneditfielduser=( (($user->id == $object->user_id) && $user->rights->user->self->creer)
|
||||||
|| (($user->id != $object->user_id) && $user->rights->user->user->creer) );
|
|| (($user->id != $object->user_id) && $user->rights->user->user->creer) );
|
||||||
$caneditpassworduser=( (($user->id == $object->user_id) && $user->rights->user->self->password)
|
$caneditpassworduser=( (($user->id == $object->user_id) && $user->rights->user->self->password)
|
||||||
|| (($user->id != $adh->user_id) && $user->rights->user->user->password) );
|
|| (($user->id != $object->user_id) && $user->rights->user->user->password) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user