News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Permission issue

Started by edurichard, 08.10.2019 23:26:30

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edurichard

Hi,
I have a Category where only Registered users can downloads the files.
But I need than some files inside this category can be download by Public.

I allowed to Public user group download a specific file, but doesn't work.
When I click to the download button, I'm redirect to the category list with this error:
You do not have permission to download the requested file.
Contact the website operator if you are sure that this is incorrect.

You can see it here: https://www.cotoc.cat/comunicacio/la-revista-del-cotoc/category/2-la-revista-del-cotoc

I attach the images of the category and file permissions.
I don't understand why I can't download the file.

Regards.


[gelöscht durch Administrator]
  •  

ColinM

Hi
The Joomla! permission have inheritance for user groups and also for categories to articles (In jD it is Categories to Downloads).So if the containing Cateory has Download permission for Registered then Public users will not see them and get the error message
So the basic Solution is to have two Categories one for Registered and the other for Public. I normally call thes 'Public' and 'Logged On' Also if you set the View Access of the Logged On cat to Registered then public users will not see the category.  Registered users will see both.
Colin
Colin M
  •  

Arno

Another solution could be to set restrictions only in the Download items. And set on the category level all on allowed.
But I have not tested it.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •