access denied to class for anonymous user

Author Message

Thomas Brandl

Friday 25 July 2003 2:13:44 am

Hi,
I created a new content classs and two objects derived from that.
I granted the Anonymous role additional read access to that new class.
However, unless I'm logged in as admin, I cannot see these object.

What I tried so far:
- set AnonymousUserID to my admins' ID: works, access granted
- assigning "Anonymous User" to role "Editors": works, access granted
- add "content : * : * " policy to Anonymous, so that it is equal to the "Editors" policy, deleting cache, browser restart: nope, no access.

So this should be a bug?!

Thanks for help!!
Thomas

Update 29.07.2003
Additional problem:
Once you set the AnonymousUserID to the admin's ID, you cannot log inot the backend anymore. When you try to login with the correct credentials, the login page reloads withouot giving any feedback.

Pirkka Hartikainen

Wednesday 20 August 2003 1:22:44 pm

I have the same problem.

This is the biggest unfixed problem in my current project! I've given the anonymous role a read policy to all sections and modules without any limitations... it doesn't work.

I guess I'm going to give the Editor role to anonymous user as a temporary fix. :-/

Thomas Brandl

Thursday 28 August 2003 7:40:22 am

...and still buggy in 3.2.0! I created a "Info Page" in the root folder, which is accessible by Anonymous (hard to believe). No matter what I add - folders, own classes, more info pages, anonymous can't see ANY of them! I dont' really know, what's so special about the homepage, so anonymous can read it?!

I unfortunately believe that we two are the only ones with that problem. I think hell would break loose if this would make trouble to anybody.

regards
Tom

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 11:23:45
Script start
Timing: Jan 18 2025 11:23:45
Module start 'layout'
Timing: Jan 18 2025 11:23:45
Module start 'content'
Timing: Jan 18 2025 11:23:46
Module end 'content'
Timing: Jan 18 2025 11:23:46
Script end

Main resources:

Total runtime0.8848 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.1719152.6406
Module start 'layout' 0.00730.0036 741.812539.4766
Module start 'content' 0.01090.8724 781.2891473.0234
Module end 'content' 0.88320.0015 1,254.31258.4375
Script end 0.8847  1,262.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3761160.0002
Check MTime0.00140.1537160.0001
Mysql Total
Database connection0.00150.168710.0015
Mysqli_queries0.837394.6357570.0147
Looping result0.00060.0697550.0000
Template Total0.843895.420.4219
Template load0.00190.218120.0010
Template processing0.841895.145320.4209
Template load and register function0.00020.020910.0002
states
state_id_array0.00140.153110.0014
state_identifier_array0.00160.175720.0008
Override
Cache load0.00160.1864260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.067020.0003
Fetch class attribute name0.00190.216130.0006
XML
Image XML parsing0.00020.025220.0001
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00070.0771100.0001
String conversion0.00000.001440.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 5

Time used to render debug report: 0.0001 secs