Forums / Developer / Malfunc in assign limited?

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?