Create a new user of type 'Publisher'
Log into front end using those credentials
Start to edit an article
Click/tap 'CMS Content' and select 'Media' from the list
Access to images in the images folder and sub-folders
An access denied message:
"You don't have permission to access this. Please contact a website administrator if this is incorrect."
Followed by a large gap and then an apparently empty 'images' folder.
J4.0.5
All other options under CMS Content are accessible.
A user type of 'Administrator' is allowed access to the Media folder(s)
Labels |
Added:
No Code Attached Yet
|
On a quick look the issue seems to be that core.manage within com_media is required and makes sense can you check whether that permission has been granted: https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_media/src/Dispatcher/Dispatcher.php#L55
@zero-24 the permissions there make no sense at all which I guess @Hackwar realised when he changed it for 4.1 #35886
However @particthistle then changed it further with #35863
Neither of those fixes help or are correct. Core.manage = access administrator interface
So of course a publisher etc would not have permission for that. I am guessing that it just needs core.create ?
Can anything be done about this? My client can't do any useful front-end editing without access to images.
Edit: I've added the 'Manager' user group to the profile, but that's only a workaround.
I have a similar problem, although in my case the publisher can access the media manager while editing an article, but not access it while editing a module. It is about an ImageHoverGalley extension where my client has to manage the images in the FrontEnd. The same error message appears: "You do not have permission to open this. If this is incorrect, please contact a website administrator."
Publisher rights are set to "allowed" in this module.
The problem is apparently not related to any template or extension. Among other things, I tested with a new Joomla 4.0.6 with only Cassiopeia and the concerned extension.
Can this be repaired?
Labels |
Added:
bug
|
On a quick look the issue seems to be that core.manage within com_media is required and makes sense can you check whether that permission has been granted: https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_media/src/Dispatcher/Dispatcher.php#L55