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

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