jDownloadsownloads.com


Author Topic: Permission issue  (Read 165 times)

0 Members and 1 Guest are viewing this topic.

Offline edurichard

  • jD Translator
  • *
  • Posts: 4
Permission issue
« on: 08.10.2019 23:26:30 »
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.

Offline ColinM

  • Moderator
  • *
  • Posts: 4.040
Re: Permission issue
« Reply #1 on: 09.10.2019 18:05:27 »
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

Offline Arno

  • Administrator
  • ***
  • Posts: 12.565
    • jDownloads.com
Re: Permission issue
« Reply #2 on: 19.10.2019 11:39:30 »
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!