Q on user/role management: doc exists?

Author Message

Manu Gupta

Saturday 01 November 2003 8:38:49 pm

Hi;

I searched documentation and couldnt find detail that i needed. if anyone can help, much appreciated. (i am on 3.2-3 latest release)

I need
1) not logged in viewer: i believe this is anonymous role
2) logged in guest: same as anonymous, but logged in
3) logged in writer: can create content
4) logged in editor: can approve content through workflow

my anonymous role has:
content read Class( Folder , Info page , Link , File , Comment , Article , Image , Forum , Forum message , Product , Product review ) -- this is associated to a single 'anonymous' user

but yet when i go to my main homepage, it requires that my user log in to view content that i added as an administrator. have i done something wrong?

is there any detailed doc on user management and roles? or can anyone help me? is there some doc that explains the different options to restrict a role? are the restrictions incorrect above?

Thanks!!
Manu

Manu Gupta

Saturday 01 November 2003 10:44:50 pm

Also, i created a new user tester, and a role called basicrole, and basic role had
content * *
yet when i log in with tester (which was added to basicrole), the main screen did not show the content:
_____
Access denied
You don't have permission to access this area.
Possible reasons for this is.
Your current user does not have the proper privileges to access this page.
You misspelled some parts of your url, try changing it.
_____

Mark Marsiglio

Sunday 02 November 2003 4:49:55 am

I noticed when setting up my roles that users had to have access to user/login/* in order to do anything. I added that to the content/*/* and it seemed to work.

In regards to your anonymous users seeing new content, I can think of two reasons it might not work.
1) Your new content is of a class or section that anonymous users do not have access to. I created a new content class for my site, and I could not view content of that class on the public site until I added a line in the anonymous role to allow for that. Strangely enough, editing the current line in that role did not work, I had to add a new one.

2) The new content is of a type that is not captured by your current navigation "fetch" command. To check this, search for your content and see if it comes up in the results. If it does it is this problem rather than the first one.

Hope that helps...

Mark

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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 20:50:08
Script start
Timing: Jan 18 2025 20:50:08
Module start 'layout'
Timing: Jan 18 2025 20:50:08
Module start 'content'
Timing: Jan 18 2025 20:50:09
Module end 'content'
Timing: Jan 18 2025 20:50:09
Script end

Main resources:

Total runtime0.7160 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.0050 589.1484152.6406
Module start 'layout' 0.00510.0023 741.789139.4766
Module start 'content' 0.00740.7071 781.2656539.6094
Module end 'content' 0.71450.0015 1,320.875012.1406
Script end 0.7160  1,333.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4480160.0002
Check MTime0.00130.1750160.0001
Mysql Total
Database connection0.00070.095910.0007
Mysqli_queries0.667793.2520570.0117
Looping result0.00050.0726550.0000
Template Total0.689096.220.3445
Template load0.00230.322520.0012
Template processing0.686795.907320.3434
Template load and register function0.00030.038010.0003
states
state_id_array0.00090.125710.0009
state_identifier_array0.00110.159120.0006
Override
Cache load0.00200.2824350.0001
Sytem overhead
Fetch class attribute can translate value0.00050.063120.0002
Fetch class attribute name0.00160.218240.0004
XML
Image XML parsing0.00060.080520.0003
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00080.1071150.0001
String conversion0.00000.000840.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs