Image sufficient permissions errors

Author Message

James Ward

Thursday 19 January 2006 8:44:41 am

I've noticed this problem on my last two installs of ezpublish and had never seen it before.

A clean install 3.7.2 does not seem to allow embedded images to be viewed. If I include an image in my articles with size set to original I receive the following message:
imagename - You do not have sufficient permissions to view this object.

Is this desired behaviour? Obviously I can fix this by adding permissions to the media folder in my anonymous role, I just don't understand why this is no longer the default, is there a security issue with this setup?

Thanks.

working at www.wardnet.com
blogging at www.jamesward.ca

Ɓukasz Serwatka

Thursday 19 January 2006 11:26:36 pm

Hi James,

By default Media section is not available for public view. You can store images in media section or you can store them in folder somewhere in content tree. If you use automatic location (Media section) then you need to get read access to Image class for anonymous role by yourself. I can agree that this can be confuse and for images should be open by default. Can you please post bug report about this?

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.

eZ debug

Timing: Jan 20 2025 14:29:46
Script start
Timing: Jan 20 2025 14:29:46
Module start 'layout'
Timing: Jan 20 2025 14:29:46
Module start 'content'
Timing: Jan 20 2025 14:29:46
Module end 'content'
Timing: Jan 20 2025 14:29:46
Script end

Main resources:

Total runtime0.0196 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 589.2891152.6406
Module start 'layout' 0.00740.0036 741.929739.4766
Module start 'content' 0.01100.0064 781.406389.3672
Module end 'content' 0.01740.0022 870.773430.3047
Script end 0.0196  901.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002512.8898140.0002
Check MTime0.00115.6532140.0001
Mysql Total
Database connection0.00157.499510.0015
Mysqli_queries0.002713.982730.0009
Looping result0.00000.113210.0000
Template Total0.00189.410.0018
Template load0.00104.880410.0010
Template processing0.00094.456810.0009
Override
Cache load0.00062.986610.0006
General
dbfile0.00105.263780.0001
String conversion0.00000.051140.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