User access to Online Editor

Author Message

Kruglova Natasha

Thursday 02 July 2009 9:32:22 pm

Hello.

Help please, how to make a full access to the xml block (Online Editor), so that a user downloads his picture.

Added to role a user:
ezoe / all functions / No limitations

But when you try to download picture message appears: Permission denied

André R.

Friday 03 July 2009 12:37:06 am

What do you mean by picture? Are you refering to content(some picture you have uploaded)?
If so then it has nothing to do with Online Editor, witch is the tool to 'edit' content.
And then you are probably looking for something like "content read class(Image) Section(Media, Content)" (access rule for annonymus users).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

mary gayle

Friday 03 July 2009 1:04:13 am

Yes Andre I agree to your suggestions. Hope that would help Kruglova Natasha.

<assume spam when 1 post + no real content comment>

Kruglova Natasha

Friday 03 July 2009 1:23:09 am

Please look video 250kb:
http://res.midisa.org/site/site.wmv
I need to allow users to upload an image from a local computer to their article through Online Editor.

André R.

Friday 03 July 2009 2:27:46 am

Ahh, that makes it a lot more clear :)
You need to make sure user has access to create image content.

Location for upload is configurable in content.ini [RelationAssignmentSettings] ClassSpecificAssignment[] , where it is pretty good described as well.
Out of the box, the upload location is media/image, so you need to add a access rule like this for the user group of your users:
content create class(Image), Section(Media), Node(media/image)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Kruglova Natasha

Friday 03 July 2009 10:59:24 pm

André, thanks for your help.

Everything works fine.

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 15:08:02
Script start
Timing: Jan 18 2025 15:08:02
Module start 'layout'
Timing: Jan 18 2025 15:08:02
Module start 'content'
Timing: Jan 18 2025 15:08:03
Module end 'content'
Timing: Jan 18 2025 15:08:03
Script end

Main resources:

Total runtime1.0111 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 587.9063152.6250
Module start 'layout' 0.00430.0021 740.531339.4453
Module start 'content' 0.00641.0031 779.9766601.8594
Module end 'content' 1.00950.0016 1,381.835916.1641
Script end 1.0111  1,398.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2913160.0002
Check MTime0.00120.1205160.0001
Mysql Total
Database connection0.00060.062110.0006
Mysqli_queries0.955094.4456680.0140
Looping result0.00080.0755660.0000
Template Total0.984497.420.4922
Template load0.00250.243020.0012
Template processing0.981997.108920.4909
Template load and register function0.00010.012610.0001
states
state_id_array0.00160.163110.0016
state_identifier_array0.00170.167320.0008
Override
Cache load0.00190.1889300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.060430.0002
Fetch class attribute name0.00130.132870.0002
XML
Image XML parsing0.00100.096330.0003
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00070.0726170.0000
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs