How do you enable anonymous user to post on blogs..??

Author Message

Sid Parmar

Monday 30 August 2004 12:47:11 pm

I know this is a silly question...But how do i let anonymous users post a comment??

i am having a problem with permissions,,,, so which permissions do you need to change and what classes need to be modified??

thank you

cheers

Sid

Stian Lindhom

Wednesday 15 September 2004 7:15:23 am

It's not a silly question, but I guess you could've figured out by doing a little bit research, it's not that hard. :)

Basically you need to edit the "Anonymous"-role, and add permission to create objects of the "Comment"-class, you do NOT need to edit any class!

Also see (a bit short but might be of interest):
http://www.ez.no/ez_publish/documentation/customization/access_control/limited_role_assignment

Regards,
Stian

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 31 2025 00:39:35
Script start
Timing: Jan 31 2025 00:39:35
Module start 'layout'
Timing: Jan 31 2025 00:39:35
Module start 'content'
Timing: Jan 31 2025 00:39:35
Module end 'content'
Timing: Jan 31 2025 00:39:35
Script end

Main resources:

Total runtime0.0201 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2578151.2266
Module start 'layout' 0.00460.0030 739.4844220.7188
Module start 'content' 0.00760.0112 960.2031997.8047
Module end 'content' 0.01880.0013 1,958.007829.9922
Script end 0.0201  1,988.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.3102140.0002
Check MTime0.00094.7148140.0001
Mysql Total
Database connection0.00073.501710.0007
Mysqli_queries0.00188.981330.0006
Looping result0.00000.043910.0000
Template Total0.00104.810.0010
Template load0.00083.869310.0008
Template processing0.00020.881110.0002
Override
Cache load0.00062.740410.0006
General
dbfile0.00115.523580.0001
String conversion0.00000.023740.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