Version: 3.3-1 (3.3) Howto set right permissions?

Author Message

K259

Tuesday 23 December 2003 6:16:19 pm

In 3.3-1 (3.3) the anonymous user have no rights to participate in the poll. I've checked the role, but don't know which rights to give..

I want the anonymous user to be able to participate in the polling..what do I add in the anonymous-role?

Best regards
Zinistry

Dariusz Wlodarczyk

Wednesday 24 December 2003 2:12:39 am

I don't know what to do with this but i have similiar problem.

I want the anonymous user to be able look at version history and preview older versions of content objects but content->versionread rights is not enough.
I think this is the problem with rights checking in content module -> versions.php

if ( !$object->attribute( 'can_read' ) )
return $Module->handleError( EZ_ERROR_KERNEL_ACCESS_DENIED, 'kernel' );
if ( !$object->attribute( 'can_edit' ) )
return $Module->handleError( EZ_ERROR_KERNEL_ACCESS_DENIED, 'kernel' );

Why user must have edit rights to only view past versions of contentobject ?
It's disabling this checking safe?

Maybe with pools is similiar reason of problem ?

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 19:04:42
Script start
Timing: Jan 18 2025 19:04:42
Module start 'layout'
Timing: Jan 18 2025 19:04:42
Module start 'content'
Timing: Jan 18 2025 19:04:43
Module end 'content'
Timing: Jan 18 2025 19:04:43
Script end

Main resources:

Total runtime0.7884 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0469152.6406
Module start 'layout' 0.00630.0078 740.687539.4766
Module start 'content' 0.01410.7730 780.1641494.8672
Module end 'content' 0.78710.0013 1,275.03138.1250
Script end 0.7884  1,283.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3944160.0002
Check MTime0.00130.1623160.0001
Mysql Total
Database connection0.00080.095910.0008
Mysqli_queries0.729592.5192540.0135
Looping result0.00050.0653520.0000
Template Total0.740393.920.3702
Template load0.00170.220020.0009
Template processing0.738693.673820.3693
Template load and register function0.00020.030710.0002
states
state_id_array0.00120.153110.0012
state_identifier_array0.00130.162520.0006
Override
Cache load0.00140.1837200.0001
Sytem overhead
Fetch class attribute can translate value0.00080.097420.0004
Fetch class attribute name0.00170.210930.0006
XML
Image XML parsing0.00300.383420.0015
class_abstraction
Instantiating content class attribute0.00000.001630.0000
General
dbfile0.00670.8521160.0004
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs