policies for Guest users account

Author Message

Thomas Johannessen

Thursday 02 March 2006 5:08:59 am

Hi

I have looked around on the forum/documentation to solve my problem, with no luck.

I create a role/policy for my guest accounts (reg. users) to be able to Comment my articles/pictures. they look like this:

Policies [3]
Module Function Limitation
content create Class( Comment )
content create Node( work ) , Class( Comment )
content create Node( work ) , Subtree( work ) , Class( Comment )

is there something I missed out? because I cant comments when I am logged in as my guest user, I then get this message, when I click on the button Comment:

Kernel 1

Access denied
You don't have permission to access this area.

Possible reasons for this are:
* Your current user does not have the proper privileges to access this page.
* You misspelled some parts of your URL, try changing it.


www.taon.no

Sergiy Pushchin

Thursday 02 March 2006 8:25:37 am

Hi,
Should be something like:

Module Function Limitation
content create Class( Comment ), ParentClass(article)
content create Class( Comment ), ParentClass(image)
conetnt edit class(Comment), Owner(Self)

Thomas Johannessen

Friday 03 March 2006 1:48:02 am

thanks, that solved it. I had forgot the last section yes..


www.taon.no

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 16:28:34
Script start
Timing: Jan 18 2025 16:28:34
Module start 'layout'
Timing: Jan 18 2025 16:28:34
Module start 'content'
Timing: Jan 18 2025 16:28:35
Module end 'content'
Timing: Jan 18 2025 16:28:35
Script end

Main resources:

Total runtime0.5482 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.0051 595.9688152.6250
Module start 'layout' 0.00510.0022 748.593839.4453
Module start 'content' 0.00720.5399 788.0391535.1641
Module end 'content' 0.54710.0011 1,323.20318.1563
Script end 0.5482  1,331.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5519160.0002
Check MTime0.00130.2329160.0001
Mysql Total
Database connection0.00080.149710.0008
Mysqli_queries0.505192.1431570.0089
Looping result0.00040.0752550.0000
Template Total0.525295.820.2626
Template load0.00200.367020.0010
Template processing0.523195.429620.2616
Template load and register function0.00010.020010.0001
states
state_id_array0.00120.220210.0012
state_identifier_array0.00070.130620.0004
Override
Cache load0.00170.3093280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.119320.0003
Fetch class attribute name0.00080.147840.0002
XML
Image XML parsing0.00080.139320.0004
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00080.1492160.0001
String conversion0.00000.001140.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