users must log in to view PDF

Author Message

Erland Flaten

Tuesday 21 June 2011 6:35:41 am

I have linked up a pdf, but readers  cant see the file. They must be logd in. Howdo I change this?

Eksample: http://www.fabrikken.org/Media/Files/Fabrikken-Magasinet-2008

Erland Flaten
Lilllehammer, Norway

Damien MARTIN

Tuesday 21 June 2011 6:42:36 am

Have you add necessary rights to the anonymous user group ?

It should be a problem with users permissions.

Jean-Luc Nguyen

Tuesday 21 June 2011 6:46:10 am

Hi,

In order to access PDFs files to anyone, you'll have to allow reading for the anonymous role, for the Media section, or for read / PDF module.

Hope this will help,

JL.

http://www.acidre.com

Erland Flaten

Tuesday 21 June 2011 7:06:23 am

Thanks Martin and Jean-Luc :)

What I did was adding "media" to be read  by  anonymus. I guess the place "standard" doesent include PDFs in the media-folder?  Anonymus has now thes 6 acess rules:

content pdf Ingen begrensninger (<-means "no limit" in Norwegian)
content read Section( Standard , Media )
ezjscore call FunctionList( ezstarrating_rate )
rss feed Ingen begrensninger
user login SiteAccess( fabrikken , nor )
user login SiteAccess( nor )

Erland Flaten
Lilllehammer, Norway

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

eZ debug

Timing: Jan 18 2025 02:03:03
Script start
Timing: Jan 18 2025 02:03:03
Module start 'layout'
Timing: Jan 18 2025 02:03:03
Module start 'content'
Timing: Jan 18 2025 02:03:03
Module end 'content'
Timing: Jan 18 2025 02:03:03
Script end

Main resources:

Total runtime0.0260 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.0391152.6250
Module start 'layout' 0.00860.0063 741.664139.4531
Module start 'content' 0.01480.0081 781.117293.9141
Module end 'content' 0.02290.0031 875.031334.2891
Script end 0.0260  909.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003111.9763140.0002
Check MTime0.00176.6048140.0001
Mysql Total
Database connection0.00114.401010.0011
Mysqli_queries0.007328.040530.0024
Looping result0.00000.099810.0000
Template Total0.00269.810.0026
Template load0.00093.416810.0009
Template processing0.00176.359410.0017
Override
Cache load0.00062.376810.0006
General
dbfile0.00031.107880.0000
String conversion0.00000.042140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs