Forums / Developer / Bypass file download permissions check
Brendan Pike
Monday 16 February 2009 9:59:16 pm
Although it seems unlikely I am hoping there is some way to pass or create a download link from templates that allows policies to be bypass file download permission checks a little like fetch 'limitation', array().
I don't wish to give users read access to this entire class, but would love it if I could apply class attribute level permissions. Since this isn't possible in eZ publish without hacks can anyone suggest ant work-arounds?
Thanks
www.dbinformatics.com.au We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.
Kristof Coomans
Tuesday 17 February 2009 12:11:35 am
Hi Brendan,
You can create a new module/view, similar to content/dowload (see kernel/content/download.php), that doesn't check any policies for certain content classes.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Tuesday 17 February 2009 5:53:30 pm
Thanks Kristof
I suspected it would require an extension, could be an opportunity for me to learn how to create a basic extension. :)
Cheers