diff --git a/src/components/com_weblinks/src/View/Form/HtmlView.php b/src/components/com_weblinks/src/View/Form/HtmlView.php index 99ea8fe6ee..c4698477bc 100644 --- a/src/components/com_weblinks/src/View/Form/HtmlView.php +++ b/src/components/com_weblinks/src/View/Form/HtmlView.php @@ -92,7 +92,9 @@ public function display($tpl = null) if (empty($this->item->id)) { $authorised = $user->authorise('core.create', 'com_weblinks') || \count($user->getAuthorisedCategories('com_weblinks', 'core.create')); } else { - $authorised = $user->authorise('core.edit', 'com_weblinks.category.' . $this->item->catid); + $asset = 'com_weblinks.category.' . $this->item->catid; + $authorised = $user->authorise('core.edit', $asset) + || ($user->authorise('core.edit.own', $asset) && (int) $this->item->created_by === (int) $user->id); } if ($authorised !== true) {