Forums / Setup & design / New Class Not Visible to Anonymous User...

New Class Not Visible to Anonymous User...

Author Message

Alex Jones

Friday 27 June 2003 1:31:33 pm

Well, I am finally jumping into ezPublish now that 3.1 is out and have promptly run into a situation that has me stumped.

Some background:
I have 3.1 installed with the demo data. I have created a new site to experiment in, which does not use the demo data directly. I have made cosmetic changes to a couple of custom templates by copying the standard versions. I have also created a new product class from scratch. It is quite simple.

For some reason when I view a page (a new folder I created) while logged in as Admin I am able to see all items within the folder. But if I am not logged in they are not presented to me. When I hit the URL directly I am told I do not have permission to access the area.

Apparently this is only in effect for items of the class I recently created as I can see newly created folders and products that use the standard classes.

What am I missing here?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Paulo Almeida

Friday 27 June 2003 2:51:13 pm

It seems you haven't added that class to anonymous role in users zone.
Edit anonymous role a add that class / section.

PACPI.COM Internet Consulting
http://pacpi.com

Matthew Knell

Sunday 29 June 2003 8:47:15 pm

I'm having the same problem, I modified the roles to include new classes, cleared all of the caches - tried different browsers, to no luck - I'm still having the issue - any other ideas?

Thanks in advance -

>> I assigned the Anonymous role to anonymous user, and then reassigned all of the new classes to the anonymous role - and it seems to have worked.

Alex Jones

Monday 30 June 2003 8:25:25 am

Thank you both! That got me on track and moving forward.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

eZ debug

Timing: Jan 30 2025 21:33:55
Script start
Timing: Jan 30 2025 21:33:55
Module start 'content'
Timing: Jan 30 2025 21:33:55
Module end 'content'
Timing: Jan 30 2025 21:33:55
Script end

Main resources:

Total runtime0.1976 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.0068 588.0469370.2891
Module start 'content' 0.00680.0119 958.33591,005.5781
Module end 'content' 0.01870.1788 1,963.91413,894.5391
Script end 0.1975  5,858.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00442.2079200.0002
Check MTime0.00130.6427200.0001
Mysql Total
Database connection0.00080.385210.0008
Mysqli_queries0.109455.37021410.0008
Looping result0.00120.62841390.0000
Template Total0.178590.310.1785
Template load0.00060.327010.0006
Template processing0.177890.009710.1778
Override
Cache load0.00050.231810.0005
Sytem overhead
Fetch class attribute can translate value0.00180.919110.0018
XML
Image XML parsing0.00020.119910.0002
General
dbfile0.00512.5980200.0003
String conversion0.00000.002430.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.0001 secs