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?

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

eZ debug

Timing: Jan 18 2025 23:16:33
Script start
Timing: Jan 18 2025 23:16:33
Module start 'layout'
Timing: Jan 18 2025 23:16:33
Module start 'content'
Timing: Jan 18 2025 23:16:34
Module end 'content'
Timing: Jan 18 2025 23:16:34
Script end

Main resources:

Total runtime0.9145 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0313152.6406
Module start 'layout' 0.00580.0025 740.671939.4766
Module start 'content' 0.00830.9044 780.1484559.6406
Module end 'content' 0.91270.0017 1,339.789112.4531
Script end 0.9145  1,352.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3296160.0002
Check MTime0.00130.1454160.0001
Mysql Total
Database connection0.00120.133810.0012
Mysqli_queries0.864394.5103650.0133
Looping result0.00070.0785630.0000
Template Total0.883596.620.4418
Template load0.00230.247020.0011
Template processing0.881296.362220.4406
Template load and register function0.00010.016410.0001
states
state_id_array0.00130.142010.0013
state_identifier_array0.00140.151820.0007
Override
Cache load0.00180.2017180.0001
Sytem overhead
Fetch class attribute can translate value0.00100.107530.0003
Fetch class attribute name0.00100.105660.0002
XML
Image XML parsing0.00100.106930.0003
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00100.1125160.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs