News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Permission problem after update to the new series - [Solved]

Started by vladas, 12.03.2015 20:57:18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vladas

Hi, I have similar problem. As I saw on some other post its not so easy to solve this problem.
I was using JD 1.9 before and now I'm using latest version per today. 3.2.27.

I tried many different things, changing manually, tried to reset all permissions, but I cant make it work.
Its not working even for logged or not logged users.
It says: You do not have permission to download this file.

Please how to fix this?
  •  

ColinM

Hi Have you read the article Controlled Access to Categories and Downloads (Permissions & Access Levels) http://www.jdownloads.net/documentations/item/controlled-access-to-categories-and-downloads

This has several examples in it.
First two steps below are to clean up!  It is a bit tedious but the following should work AOK as a reasonably simple scheme.  The above doc shows more sophisticated schemes

  • First set all the Component Permissions for all user groups to  'Inherited'  At this stage only the Super User can access Downloads from the front end
  • Set all user groups for every top Level Category to inherited
  • any jDownloads user group that needs to be able to Download should have a User group with Registered as its Parent, I will call it Downloaders
  • If that user group is called Downloaders then in every Category set the Download permission to Allowed for the Downloaders user group. 
  • any jDownloads user group that needs to be able to upload, the Uploaders should have the Downloaders group as its Parent
  • set the Create, Edit and Edit Own permissions in every top level category for the Uploaders user group to Allow
  Do not use Deny.  Also  you will need to do Save to see the reults of any permission change.  Another thing is that users 'collect' their permissions when they log in.  So for testing you need to log out and in , And clear the cache! All very tedious, just have tea or coffee or juice or water with it!!

Colin
Colin M
  •  

vladas

Don't know what went wrong when I was upgrading from 1.9 to 3.2.7 version.

Right now I need to open EACH category, and set up Download Allowed for Public.
Also I need to open EACH download document, and just save it.

After each category has Download Allowed and document is saved then everything works.

Is there any batch command for this, because to open few hundred of categories and all documents will take forever.

  •  

Arno

#3
@ Colin:
i understand not why you mean, vladas should change every item manually.  ::)
 
QuoteRight now I need to open EACH category, and set up Download Allowed for Public.
Also I need to open EACH download document, and just save it.
After each category has Download Allowed and document is saved then everything works.
I mean that this is not the right way. Can you send me login data for your backend via PM then i will check it.
All your files shall be downloadable for visitors? Or which structure want you to use?

Edit: I will split this thread to a new topic as it has not really to do with the older problem here.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Hi Vlada,
thanks for the backend data.

I have now created a backup from your jD data. So i can now try to solve this in my test environment.
But i think i have first tommorow the time for it.  :-\

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Hi Vlada,
i have now succesful restored your jD data (see pics).
So all your permissions for the jD items should now be correct (Main settings for the component: 'Download' action = allowed and all jD items 'Download' = inherited). ;)

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •