Update the Uikit 3 lib. Fixed permission check in getEditUrl.

This commit is contained in:
2018-09-20 14:35:14 +02:00
parent 2e758308d2
commit b208f4f616
14 changed files with 10317 additions and 10040 deletions

View File

@ -3785,8 +3785,14 @@ abstract class ComponentbuilderHelper
{
// get user action permission to edit
$action = self::getActions($view, $record, $views, 'edit', str_replace('com_', '', $component));
// check if the view permission is set
if (($edit = $action->get($view . '.edit', 'none-set')) === 'none-set')
{
// fall back on the core permission then
$edit = $action->get('core.edit', 'none-set');
}
// can edit
if ($action->get($view . '.edit'))
if ($edit)
{
// set the edit link
if ($jRoute)