Can't create content even if content/create is available

Author Message

nicola tesser

Thursday 27 September 2007 2:02:48 am

Hello, I have a user groups editors that i want to limitate for the content functions delete, and hide.
What I did is to create my role policies, where all the functions apart of the 2 above are present without limitations, and i associate the role to the user group.

But when i log in with an user of this group and I try to create or edit content, I get the error message:

 The requested page could not be displayed. (1)

The system is unable to display the requested page because of security issues.

Possible reasons:

    * Your account does not have the proper privileges to access the requested page.
    * The requested page does not exist. Try changing the URL.

and the debug options are:

Warning: Insufficient permissions  	Sep 27 2007 10:49:31

Function required:
 Module : content
 Function : edit or create
 ClassID : 
 MainNodeID : 
Policies that didn't match:

If then i add the 2 remaining policies to the user role, I get always the some problem; the only way that I found in order to have those users to create and edit content is to create an unique policy for the content with "all functions" and "No limitations".

I'm running ez publish 3.9.3, but I didn't try to do these actions in previous versions, so I can't say if it's a problem of the new version or not.

Any ideas?

Thanks,
Nicola

Łukasz Serwatka

Thursday 27 September 2007 3:18:36 am

You have to add both CONTENT/EDIT and CONTENT/CREATE policies to that role. CONTENT/CREATE is not enought.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

nicola tesser

Thursday 27 September 2007 4:26:37 am

Thank u Łukasz, I didn't express well myself:
I have all the content policies in the role apart of deleting and hiding.
And even if I add ALL the content policies one by one, the users can't create content.

So, trying to be clearer:

 content  	 bookmark  	 No limitations
content 	cleantrash 	No limitations
content 	create 	No limitations
content 	diff 	No limitations
content 	edit 	No limitations
content 	manage_locations 	No limitations
content 	pdf 	No limitations
content 	pendinglist 	No limitations
content 	read 	No limitations
content 	restore 	No limitations
content 	reverserelatedlist 	No limitations
content 	tipafriend 	No limitations
content 	translations 	No limitations
content 	urltranslator 	No limitations
content 	versionread 	No limitations
content 	versionremove 	No limitations
content 	view_embed 	No limitations
content 	translate 	No limitations
content 	all functions 	No limitations

does NOT work

while

 content  	 all functions   	 No limitations

which is teorically equivalent, it DOES work!

Any possible explanation?
Nicola

Łukasz Serwatka

Thursday 27 September 2007 5:22:55 am

I suggest to check if that user uses that role. Check if role is assigned correctly to user group or user.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

nicola tesser

Thursday 27 September 2007 5:34:59 am

Yes the role is assigned to the correct user group

nicola tesser

Monday 01 October 2007 7:38:44 am

I tried to work in a fresh installation of ez publish, and to modify the roles of the editor group, in a way to give access just to some content functions (read, create and edit) to the group.
When I do that it works everything as expected.

So it looks that somehow I screwed up my installation, maybe during the upgrade between 3.9.2 and 3.9.3. but still I ve no idea how.

Right now the issue is still the same, my editor group has just some content functions (including edit and create), but theres no way that my editor users can create new content.

 The requested page could not be displayed. (1)
The system is unable to display the requested page because of security issues.
Possible reasons:
    * Your account does not have the proper privileges to access the requested page.
    * The requested page does not exist. Try changing the URL.

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