Forums / General / User access to Online Editor

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.

eZ debug

Timing: Jan 18 2025 10:18:08
Script start
Timing: Jan 18 2025 10:18:08
Module start 'content'
Timing: Jan 18 2025 10:18:08
Module end 'content'
Timing: Jan 18 2025 10:18:09
Script end

Main resources:

Total runtime0.1832 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.8203180.8438
Module start 'content' 0.00610.0084 769.664197.8359
Module end 'content' 0.01460.1686 867.5000526.0234
Script end 0.1831  1,393.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.0382200.0002
Check MTime0.00140.7880200.0001
Mysql Total
Database connection0.00070.364110.0007
Mysqli_queries0.129370.57341410.0009
Looping result0.00140.77361390.0000
Template Total0.168191.810.1681
Template load0.00110.589010.0011
Template processing0.167191.187110.1671
Override
Cache load0.00080.410010.0008
Sytem overhead
Fetch class attribute can translate value0.00090.473910.0009
XML
Image XML parsing0.00030.174110.0003
General
dbfile0.00713.8824200.0004
String conversion0.00000.004030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs