access denied when inserting comments

Author Message

ttkt ttkt

Monday 17 October 2005 8:14:07 pm

hi all,

i have an article whereby guests can view the comments and "Add new comment" button on the bottom of the page.

Guests have to login if he wants to give his comment.

the problem is, after the user logs in, there is an error message:

Access denied
You don't have permission to access this area.

Possible reasons for this is.

Your current user does not have the proper privileges to access this page.
You misspelled some parts of your URL, try changing it.

i have already set the roles to
content create Class( Comment ) , ParentClass( Article )
content read Class( Comment )

may i know if there is something i missed out? thanks.

Nabil Alimi

Tuesday 18 October 2005 2:00:28 am

Hi,

Try to had <b>content edit</b> rights too.

Creating a new object is a thing.

Being able to edit it (filling fields in fact) after creation is one other. :)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

ttkt ttkt

Wednesday 19 October 2005 5:13:36 am

hi, it has been solved, thanks guys.

Christian Johansen

Sunday 13 November 2005 11:41:00 pm

How do you go about to allow an article have comments?

Christian Johansen

Sunday 13 November 2005 11:48:52 pm

ttkt ttkt: I saw that you were asking in another thread how to add comments and now it seems you found out. I am wondering the same thing - did you find some text explaining how to do this?

Gurudutt Verma

Friday 18 November 2005 4:52:08 am

Hi Christian Johansen

If you are using standard eZ publish class then

IF you go to article object, try to edit the object
At the bottom you will see on check box to enable the comment for that object,

Just check that and re publish the object after that it must be possible to add comment to article.

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