The CanEditRow list plugin is not working using the latest files from Github.
In model/list.php around line 2878 in the function canEdit
the code:
if ($canUserDo !== -1)
{
return $canUserDo;
}
do return values before running the:
$canEdit = FabrikWorker::getPluginManager()->runPlugins('onCanEdit', $this, 'list', $row);
if (in_array(false, $canEdit))
{
return false;
}
Moving this so the it checks the runPlugins function before checking the canUserDo solevs the problem I think.
In model/list.php around line 2878 in the function canEdit
the code:
if ($canUserDo !== -1)
{
return $canUserDo;
}
do return values before running the:
$canEdit = FabrikWorker::getPluginManager()->runPlugins('onCanEdit', $this, 'list', $row);
if (in_array(false, $canEdit))
{
return false;
}
Moving this so the it checks the runPlugins function before checking the canUserDo solevs the problem I think.