Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: zijO on January 16, 2017, 09:59:44 PM

Title: Deny access to boards SMF 2.1
Post by: zijO on January 16, 2017, 09:59:44 PM
I can see in the SMF 2.1 features option Deny access to boards.
How it is done?
Title: Re: Deny access to boards SMF 2.1
Post by: Arantor on January 17, 2017, 02:05:35 AM
Complicatedly.
Title: Re: Deny access to boards SMF 2.1
Post by: zijO on January 17, 2017, 04:35:25 AM
Then I can not use it.
Title: Re: Deny access to boards SMF 2.1
Post by: Arantor on January 17, 2017, 04:36:39 AM
Why? Do you need to know how something internally works to be able to use it?

What exactly do you need to know?
Title: Re: Deny access to boards SMF 2.1
Post by: zijO on January 17, 2017, 09:30:22 PM
No, but i couldn't find instructions how to use it.
Title: Re: Deny access to boards SMF 2.1
Post by: Arantor on January 18, 2017, 02:57:26 AM
See, I thought you were after an explanation of how it physically worked under the hood, which struck me as a little bizarre.

I don't think 2.1's manual is finished yet because you're not really supposed to use it in production, so the only people who should be using it are people prepared to explore and test things.

As for how to use it, I'm not sure where the complexity is, it works like allow/deny permissions as described in the manual: for any given board, if a group is marked as A, that group can see the board. If a group is marked as X, that group won't see the board - but if a user has two groups and one of them is an A, the X gets ignored. If a user has D, that means they can't see it pretty much regardless of anything (admins can but that's it)

There's a better explanation of how permissions work as a general idea - http://wiki.simplemachines.org/smf/SMF2.0:Permissions#About_Permissions - the same A/X/D logic applies here too.
Title: Re: Deny access to boards SMF 2.1
Post by: zijO on January 19, 2017, 12:29:50 AM
Thanks a lot, I'll play with it.

I was using  old mod view only boards , with some modification it worked on smf 2.1
Title: Re: Deny access to boards SMF 2.1
Post by: Arantor on January 19, 2017, 02:58:17 AM
Deny is not about showing boards to guests, which by the way has historically shown to be a bad idea, but is to make sure you can do things like make a troublemaker group where they can only see a few boards even if they would otherwise be able to see most things.