TinyPortal

Development => Support => Topic started by: gijs on October 02, 2006, 02:54:47 PM

Title: frontpage permissions?
Post by: gijs on October 02, 2006, 02:54:47 PM
Hi I like to prevent member(group)s without the right permissions from seeing posts on the frontpage that they shouldn't be allowed to see...
Title: Re: frontpage permissions?
Post by: IchBin on October 02, 2006, 04:09:50 PM
They shouldn't be able to view those posts AFAIK. How have you tested to see that they can see them?
Title: Re: frontpage permissions?
Post by: gijs on October 02, 2006, 05:26:21 PM
Created a new user and a membergroup, and removed all permissions from them. Nothing in the forum was shown (no boards/categories/posts), but when on the frontpage all posts where shown...

- selected 'only forum' (What to show on front page)
- Allow guests to see news from the news board - even if guest are not allowed to see the board?No 
Title: Re: frontpage permissions?
Post by: maxnorris on October 03, 2006, 05:10:48 PM
Having the same issue with this.  I have the front page pulling announcements from two different forums.  One is open to everyone, guests included.  The other is restricted to a custom user group that I created.

On the front page, completely logged out of the site, I am still seeing both news forums.  (It's hidden correctly in the forums itself, and I do have it set to now allow guests to view forums they shouldnt be able to see)
Title: Re: frontpage permissions?
Post by: bloc on October 03, 2006, 06:06:38 PM
What if you unselect the option "Allow guests to see news from the news board - even if guest are not allowed to see the board" - does it still show the posts if not logged in?
Title: Re: frontpage permissions?
Post by: maxnorris on October 03, 2006, 06:57:28 PM
Correct - it's still showing forums an unlogged viewer shouldn't be allowed to see. (I also tested just as a larf to make sure it wasn't my template, the default is doing that as well)

Right now I'm working around this via some SSI center blocks instead. (I had to hack up a special version of SSI_BoardNews that ignored user permissions, and TinyPortal is handling the permissions for that block on who can and cant view.. the "regular" news block is viewable by everyone, the special only can only be seen by a specific user group.  That does work.)

I don't think any addons messed with it.  The only ones I have added are:


Other than this minor glitch (possibly, fairly sure the settings are correct) the .95 upgrade works great, nice job.
Title: Re: frontpage permissions?
Post by: gijs on October 04, 2006, 12:48:46 AM
checked it too, same problem here still.

Using SMF 1.1rc3 and TP 0.95 ... no other packages installed
Title: Re: frontpage permissions?
Post by: bloc on October 04, 2006, 05:57:24 PM
I will be looking into this for TP 1.0, as its a problem with both TP and partly SSI I suspect.