content/download for anonymous user - pdf download not allowed

Author Message

frank dege

Wednesday 01 December 2004 11:46:39 am

the download of pdf-files or other files is not allowed for users not logged in. i tried to extend the role-settings for the anonymous user but is doesn´t work.
what role-settings do i have to add in oder to allow the download?

the role settings are:

user login Keine Einschränkungen
content read Section( Standard )
content pdf Section( Standard )
rss read Keine Einschränkungen
content read Class( File , Image ) , Section( Media )
content read Subtree( Files ) , Class( File ) , Section( Media )

thanks
frank

Björn [email protected]

Thursday 02 December 2004 7:30:14 am

gibt's nicht auch rechte für

content/download
oder
download/ ?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

frank dege

Thursday 02 December 2004 10:04:34 am

hi björn,

unfortunatly "download" or "content" / "download" is not available.

frank

Kåre Køhler Høvik

Thursday 09 December 2004 2:22:46 am

Does anonymous users get a <i>Error kernel 1</i> or other error number ?
Does it work for logged in users ?
What section/subtree/class are the objects which anonymous users can't download ?

Kåre Høvik

frank dege

Friday 10 December 2004 12:22:46 pm

hi,

in the meantime we changed the link ({$media.data_map.file.content.filepath|ezroot}). today i tried to change the code back to

concat("content/download/",$media.data_map.file.contentobject_id,"/",$me.file.id,"/file/",$media.data_map.file.content.original_filename|urlencode)

today it works! i don´t know why. it seems to be a sideeffect that it the reason for that.
thats why i can´t give you a feedback concerning the errornumber.

we tried to download from section media / class file, subtree "media/files/service/faq".

best regards
frank

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.