A kind of guestbook

Author Message

Franck T.

Monday 09 August 2004 6:30:03 am

Hello everybody. As in the TSCM tutoriel (Building an Ez site), I'd like to create a guestbook for my site. But in my case, I don't want the guestbook entries to be viewable, except for somme people (with a specific role).
Any idea about how to make this possible ?

Paul Borgermans

Monday 09 August 2004 6:38:31 am

Thast should be failrly simple:

allow read-access for self and another one of a group of people you assign. Or do you need more?

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Franck T.

Monday 09 August 2004 7:48:43 am

Thanks for replying Paul.
What I want is to let anonymous users write in my guestbook. Like in the tutorial they just have to click in the 'Sign' button. So I've set the following rules for them.

user  	 login  	 SiteAccess( MySite )
content 	read 	Section( Standard section )
content 	create 	Class( GBentry ) , Section( Section GestBook )
content 	edit 	Class( GBentry ) , Section( Section GestBook ) , Owner( Self )
content 	read 	Class( GBentry ) , Section( Section GestBook ) , Owner( Self )

But I get the Access Denied page. Your idea is good but may be I miss something ?

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 19 2025 07:06:06
Script start
Timing: Jan 19 2025 07:06:06
Module start 'layout'
Timing: Jan 19 2025 07:06:06
Module start 'content'
Timing: Jan 19 2025 07:06:06
Module end 'content'
Timing: Jan 19 2025 07:06:06
Script end

Main resources:

Total runtime0.0205 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1484152.6250
Module start 'layout' 0.00720.0040 741.773439.4297
Module start 'content' 0.01120.0070 781.203189.4141
Module end 'content' 0.01820.0023 870.617230.3047
Script end 0.0204  900.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002913.9422140.0002
Check MTime0.00136.2248140.0001
Mysql Total
Database connection0.00136.333010.0013
Mysqli_queries0.003115.297530.0010
Looping result0.00000.117510.0000
Template Total0.00188.810.0018
Template load0.00104.707910.0010
Template processing0.00084.025010.0008
Override
Cache load0.00063.113010.0006
General
dbfile0.00188.622480.0002
String conversion0.00000.047740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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