download plugin doesn't care about access levels

Phoca Download - download manager
DiDaDose
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 14 Sep 2011, 02:02

download plugin doesn't care about access levels

Post by DiDaDose »

Integrating a filelist by using phoca download plugin doesn't seem to handle access permissions to files. I entered code like

Code: Select all

{phocadownload view=filelist|id=3|title=Info-Material}
but although the current page has a very specific access permission the download list shows all files having id 3, no matter if this file have another access level or if those file are even authorized. This is really necessary since it shall deliver different downloads to different user groups on their specific logged-in webpage (small school, different infos for each grade level).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: download plugin doesn't care about access levels

Post by Jan »

Hi, to strict displaying the files under access - allways use component. Plugin can display different files which are set in the plugin (and under access too). Of course they are protected - because download is done by component - so while clicking on the file, you will be redirected to login, etc.

Jan
If you find Phoca extensions useful, please support the project
Post Reply