Share » Forums » Setup & design » Version: 3.3-1 (3.3) Howto set right...

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

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

Tuesday 23 December 2003 6:16:19 pm - 1 reply

Author Message

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 ?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu