No Code Attached Yet Information Required
avatar hpgodwin
hpgodwin
14 Sep 2023

Steps to reproduce the issue

Have usergroup role set to Administrator
Go to Content > Articles
Select an article
Open Actions
Batch is missing as an option

Expected result

Go to Content > Site Modules
Select a module
Select Actions
Batch is an option for administrator

Actual result

Batch Option is missing as an Action if role is only administrator and user has articles selected

System information (as much as possible)

Joomla Version: Joomla! 4.3.4 Stable [ Bora ] 22-August-2023 16:00 GMT
PHP Version: 7.4.3-4ubuntu2.19
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.81

Additional comments

Users with Administrator role had the ability to use Batch Operation on J3, we recently upgraded to Joomla 4 and users have noticed they don't have the option with regards to Articles anymore.
I have tested changing the screen shot 2023-09-14 at 09 36 20User Permissions and allowing all does not bring back the Batch Option.screen shot 2023-09-14 at 09 36 22

avatar hpgodwin hpgodwin - open - 14 Sep 2023
avatar hpgodwin hpgodwin - change - 14 Sep 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Sep 2023
avatar Fedik
Fedik - comment - 14 Sep 2023

I cannot reproduce,
I tried with role Manager and Administrator on new installation, and they both have Batch.

Maybe something missing while upgrading?

avatar Fedik
Fedik - comment - 14 Sep 2023

Check that user have all these access:

$user->authorise('core.create', 'com_content')
&& $user->authorise('core.edit', 'com_content')
&& $user->authorise('core.execute.transition', 'com_content')

I suspect core.execute.transition is missing.
You can find it in /administrator/index.php?option=com_config&view=component&component=com_content => Permission tab => "Execute Transition"

avatar Quy Quy - change - 14 Sep 2023
Labels Added: Information Required
avatar Quy Quy - labeled - 14 Sep 2023
avatar hpgodwin
hpgodwin - comment - 25 Sep 2023

This was exactly the fix - thank you


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41752.

avatar Quy Quy - close - 25 Sep 2023
avatar Quy Quy - change - 25 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-25 21:48:20
Closed_By Quy
avatar peteruoi
peteruoi - comment - 17 Feb 2024

I found the same problem for administrator account and till i found this topic it wasn't easy to find the fix. My site also came from an updated version of joomla 3. Maybe we add the fix to the migration script and administrator core.execute.transition make it true?

Add a Comment

Login with GitHub to post a comment