No Code Attached Yet bug
avatar pjdevries
pjdevries
21 Jul 2023

Steps to reproduce the issue

Setup a multi language site with at least 2 languages.
Create a user group with just enough permissions to

  • gain access to the backend,
  • be able to create and edit articles and
  • access the Multilingual Associations component.

Add a user to that group and login into the backend as that user.
Make sure articles can be created and edited and add at least one.
Access the Multilingual Associations component.

Expected result

Be allowed to click on an article title to edit its associations.

Actual result

Titles are not clickable and therefore associations can not be edited from within the Multilingual Associations component.

System information (as much as possible)

Joomla! 4.3.3

Additional comments

The problem is caused by the absence of method allowEdit() in class Joomla\Component\Content\Administrator\Helper\AssociationsHelper. This helper is used by com_associations, in method allowEdit() of class Joomla\Component\Associations\Administrator\Helper\AssociationsHelper, to check authorisation of editing single items. Because the method does not exist in the com_content associations helper, editing of single items is never allowed.

avatar pjdevries pjdevries - open - 21 Jul 2023
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jul 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Jul 2023
avatar pjdevries pjdevries - change - 21 Jul 2023
The description was changed
avatar pjdevries pjdevries - edited - 21 Jul 2023
avatar Hackwar Hackwar - change - 28 Mar 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 28 Mar 2024

Add a Comment

Login with GitHub to post a comment