Rights to download files in ez

Author Message

Siw Helen Thorslund

Wednesday 18 May 2005 6:01:47 am

I have a site where I want to open for all users to download zip-files without login.

The code I have used is this:

{"/content/download/270/1191/file/filename.zip"|ezurl}

How do I setup the rights for the Anonymous rolle to manage this?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Ɓukasz Serwatka

Thursday 19 May 2005 12:25:24 am

Hi Siw Helen,

File kernel/content/download.php checks "read" access to file, so you will have to get 'content/read' access to the objects (of class File) for all users.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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