Malfunc in assign limited?

Author Message

Eivind Marienborg

Wednesday 06 April 2005 8:14:58 am

I'm having problems with the assign limited on subtree function.

<b>This is my setup:</b>

<b>Content structure</b>
- Folder1
-- forums, public
- Folder2
-- forums, public
- Folder3
-- forums, restricted access

<b>User groups</b>
My logged in users are placed in different groups. Based on which groups they belong to, they are supposed to have access to different forums inside Folder3.

<b>Roles</b>
I have set this up using assing limited on subtree on this forum policy:

 content  	 read  	 Class( Folder , Folder , Forum , Forum topic , Forum reply ) , Section( Forum )
content 	create 	Subtree( Forum ) , Class( Forum topic , Forum reply ) , Section( Forum )
content 	edit 	Class( Forum topic , Forum reply ) , Owner( Self )

<b>Assign limited</b>
I have assigned this to all users on Folder1 and Folder2. Each user group then gets assigned limited by subtree on their own forum in Folder3.

<b>Result/Problem</b>
All users see forums in Folder1 and Folder2, as they're supposed to. When entering Folder3 they only see the forums they're supposed to. So far, all good.

But when entering the URL to a restricted forum directly, there's no restrictions. No 'No access' message is displayed. In stead it looks like an empty forum, where no topics and no replies have been submitted.

When entering a forum topic directly by URL the same happens. The user can see the forum topic, but no forum replies. The same thing goes for entering the URL directly to forum replies.

The strangest thing is that the user even is allowed to create new forum topic (in forum view) and forum replies (in forum topic view), but won't see it appear after submitting it!

I've thought about posting this as a bug, but want to make sure I'm not just misunderstanding something in the setup of Assing Limited first. Anyone else has experience with this? Any ideas for fixing it?

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 22:11:20
Script start
Timing: Jan 18 2025 22:11:20
Module start 'layout'
Timing: Jan 18 2025 22:11:20
Module start 'content'
Timing: Jan 18 2025 22:11:20
Module end 'content'
Timing: Jan 18 2025 22:11:20
Script end

Main resources:

Total runtime0.5423 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 587.9141152.6250
Module start 'layout' 0.00450.0027 740.539139.4453
Module start 'content' 0.00720.5335 779.9844448.0391
Module end 'content' 0.54070.0016 1,228.02348.1641
Script end 0.5423  1,236.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5939160.0002
Check MTime0.00140.2555160.0001
Mysql Total
Database connection0.00070.134610.0007
Mysqli_queries0.494391.1454460.0107
Looping result0.00050.0859440.0000
Template Total0.513294.620.2566
Template load0.00200.362220.0010
Template processing0.511294.267120.2556
Template load and register function0.00020.041310.0002
states
state_id_array0.00120.217610.0012
state_identifier_array0.00140.250420.0007
Override
Cache load0.00160.2922260.0001
Sytem overhead
Fetch class attribute can translate value0.00120.212610.0012
Fetch class attribute name0.00080.143220.0004
XML
Image XML parsing0.00110.197110.0011
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00230.4189160.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs