Forums / Install & configuration / User permission to upload image

User permission to upload image

Author Message

Ivan Švogor

Wednesday 02 March 2011 7:01:55 am

Hello!

What permission do I use to enable my users to upload images (in TinyMCE wysiwyg editor) ?

Damien Pobel

Wednesday 02 March 2011 12:30:53 pm

Hi Ivan,

I would say that you should add content/create of image in Media/Images or in media section. It's also perhaps necessary to add ezoe/relations as well.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Ivan Švogor

Thursday 03 March 2011 5:39:43 am

Hello Damien!

Thank you for your answer, unfortunatley it does not work for me.

I have added the permision content create image, and ezoe full access, Also create image on any section...

I can select the image I want to upload, and there is a Location option, if I select Automatic, i get premission denied, but if i select location "this" than I can upload. Problem is on some pages I cannot select "this"... Any idea why this happens?

Damien Pobel

Thursday 03 March 2011 7:17:15 am

Hum that's weird. I guess that to be able to select "this", you have to meet the following requirements :

  • the class of the element you're editing has to be marked as a container
  • you also need to have the right to create an image object under the object you're editing
  • and perhaps this works only when you edit an existing objet, not when you're creating one.

On the initial issue, what is the exact message you get when using "Automatic" as location ? By the way, "Automatic" is in fact a value that is computed from the type of file you're uploading and from the rules set in content.ini. So you should also check that the paths set in content.ini/[RelationAssignementSettings]/ClassSpecificAssignement are valid.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Marko Žmak

Thursday 03 March 2011 7:40:34 am

Ivan: Not sure, but you may also need the content/edit permission for images in Media section.

Also, pasting here the complete user role that you've created would help.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

eZ debug

Timing: Jan 18 2025 00:05:38
Script start
Timing: Jan 18 2025 00:05:38
Module start 'content'
Timing: Jan 18 2025 00:05:39
Module end 'content'
Timing: Jan 18 2025 00:05:39
Script end

Main resources:

Total runtime0.8205 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.2578180.8359
Module start 'content' 0.00670.6704 770.0938609.1328
Module end 'content' 0.67700.1431 1,379.2266337.3828
Script end 0.8201  1,716.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4808210.0002
Check MTime0.00160.1976210.0001
Mysql Total
Database connection0.00150.184410.0015
Mysqli_queries0.740790.28242020.0037
Looping result0.00230.28412000.0000
Template Total0.795496.920.3977
Template load0.00210.255520.0010
Template processing0.793396.693320.3967
Template load and register function0.00030.031210.0003
states
state_id_array0.00050.064410.0005
state_identifier_array0.00060.071420.0003
Override
Cache load0.00180.2202280.0001
Sytem overhead
Fetch class attribute can translate value0.00150.185940.0004
Fetch class attribute name0.00130.159570.0002
XML
Image XML parsing0.00140.176640.0004
class_abstraction
Instantiating content class attribute0.00000.002180.0000
General
dbfile0.00510.6239350.0001
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs