Forums / General / access denied to class for anonymous user

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

eZ debug

Timing: Jan 30 2025 19:41:33
Script start
Timing: Jan 30 2025 19:41:33
Module start 'content'
Timing: Jan 30 2025 19:41:33
Module end 'content'
Timing: Jan 30 2025 19:41:34
Script end

Main resources:

Total runtime0.4505 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0102 588.0547370.2813
Module start 'content' 0.01020.0141 958.33591,001.4375
Module end 'content' 0.02430.4261 1,959.77343,891.5391
Script end 0.4504  5,851.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00471.0423200.0002
Check MTime0.00130.2984200.0001
Mysql Total
Database connection0.00080.182910.0008
Mysqli_queries0.333273.95671410.0024
Looping result0.00170.37971390.0000
Template Total0.425794.510.4257
Template load0.00080.184210.0008
Template processing0.424894.297110.4248
Override
Cache load0.00060.128110.0006
Sytem overhead
Fetch class attribute can translate value0.00180.398410.0018
XML
Image XML parsing0.00020.050410.0002
General
dbfile0.02395.2943200.0012
String conversion0.00000.001530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs