PDA

View Full Version : News Item displayed from category with no permissions


theMusicMan
08-27-2004, 01:27 PM
Hi

I think I may have found a small bug/issue with the news items on vBA.

Here's what I did:

Selected one of the restricted access Moderator forums as the News forum on my portal
Set the number of news items to 1 (though this wouldn't matter)
Viewed the Portal page and when not logged in (i.e. viewing as guest) I saw a post from the hidden mods forum.
When I logged in as a regular registered member, I still see it
When I click on the title of the post from the portal, I get the standard unable to view vB page.

So, I think there may be an issue with news items allowing posts to be displayed that viewers do not have permission to see.

Hope that makes sense, if not - shout and I will try to explain further.

John

Brian
08-27-2004, 01:34 PM
It's done that way by design so that you can have posts displayed from a private forum without anyone being able to reply and/or see that forum. If you would like to apply forum permissions to your news forum as well though, you can open your modules/news.php file and find:

thread.visible = 1

Replace that with:

thread.visible = 1 $iforumperms

And that should add forum permissions to your news posts.

Our Sponsors
 

theMusicMan
08-27-2004, 02:10 PM
Ok Brian, thanks for getting back to me so quickly. And reading your explanation makes it all clear.

John