Forums / Setup & design / Link to News folder page needs a login

Link to News folder page needs a login

Author Message

Igor Paffen

Thursday 15 July 2004 1:18:04 am

I made a News section and News folder. I assigned the News folder to the News section and I made a link to the News section in the pagelayout.tpl file:

<a href={"/news"|ezurl}>News</a>

When the link is clicked, the user has to login on the News folder page! Access is denied. All writing permissions are set correct and no user roles are defined. What's more strange is that a just added user cannot login here! A valid user name and/or password is needed. What is it I do wrong? I read all the comments but nothing helped. Please help, I can't see it anymore!!

Frederik Holljen

Thursday 15 July 2004 2:39:00 am

Sounds like you have forgotten to update the currently existing roles to include the News section you have created. Make sure that people can read and login in that section.

Igor Paffen

Thursday 15 July 2004 3:13:59 am

When I login with the administrator loginname the link works. I don't really understand the roles and permission settings. I hope the eZ System book which I ordered helps me! Thanks

Frederik Holljen

Thursday 15 July 2004 4:35:43 am

You probably want something like this:
http://www.ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/overview_of_the_latest_news/fixing_access_denied

Basically the role system grants you access to parts of the site according to the choices you make. Since you are trying to access objects from the content tree, the correct module is content. You want to make sure that everyone can read the classes you use in the News section you have created.

Davis Weddi

Thursday 12 August 2004 4:29:57 am

Hello Did you finally get the solution to this problem?