Simple Machines Community Forum

SMF Development => Feature Requests => Next SMF Discussion => Topic started by: Illori on January 31, 2011, 06:26:13 AM

Title: [2.1/3.0] Deny Access to board
Post by: Illori on January 31, 2011, 06:26:13 AM
Several times I have seen posts where a user wants to have a member group with access to a certain board, but when person x is also in another group they want that person because they are in this additional group to be denied access to 1 or more boards which at this time is not possible. I was wondering if in the future it would be possible to add the ability to deny access to boards if you have deny permissions enabled in the admin panel.
Title: Re: Deny Access to board
Post by: Aleksi "Lex" Kilpinen on January 31, 2011, 06:39:49 AM
I have suggested the same actually in the past :) I believe this will not happen for 2.0 though, but possibly for the following releases then ;)
Title: Re: Deny Access to board
Post by: Illori on January 31, 2011, 06:49:14 AM
sounds good ;) and i think could be very helpful by that time.
Title: Re: Deny Access to board
Post by: Arantor on January 31, 2011, 07:17:02 AM
I did actually write a mod that would make it possible, but too many people didn't bother to read the instructions so there was no way I was going to maintain it (you can try manually installing it though, look for View/Enter Board Permissions, which effectively turns board access into a real permission and promptly removes the access thingy from the board configuration, it isn't elegant but it worked when I first wrote it)
Title: Re: Deny Access to board
Post by: Norv on March 26, 2011, 11:55:05 PM
Thank you for the proposal. :)

Just noting here, for further reference, another topic on this. (and not the only one)
allow/deny membergroups to access boards (http://www.simplemachines.org/community/index.php?topic=425033.0)
Title: Re: [2.1/3.0] Deny Access to board
Post by: emanuele on December 19, 2012, 04:47:35 AM
This is in 2.1.

Friendly bump to remember to move the topic later.
Title: Re: [2.1/3.0] Deny Access to board
Post by: Darkness_Black on January 28, 2013, 12:00:32 PM
Quote from: emanuele on December 19, 2012, 04:47:35 AM
This is in 2.1.

Friendly bump to remember to move the topic later.

Very Good.
Title: Re: [2.1/3.0] Deny Access to board
Post by: Arantor on January 28, 2013, 05:07:58 PM
Is it? I'm curious because I'm looking through SMF 2.1 from a few days ago's Github repo and I can't see it.

(I was curious to see how it had been done, I know I implemented it but I hated how the UI looked and wanted to see if it had been improved upon.)


EDIT: A kind soul explained how to enable this (i.e. Admin > Forum > Boards > Settings > Enable the option to deny board access based on membergroup then it becomes an option...) That's functional but not very intuitive :/
Title: Re: [2.1/3.0] Deny Access to board
Post by: emanuele on January 28, 2013, 05:18:46 PM
The usual A X D with radio buttons.
But in the membergroup page is quite ugly...
Title: Re: [2.1/3.0] Deny Access to board
Post by: Arantor on January 28, 2013, 05:22:41 PM
That's why I said about improving upon it; I didn't like doing much the same in Wedge (but with even *more* options >_<)
Title: Re: [2.1/3.0] Deny Access to board
Post by: emanuele on January 28, 2013, 06:22:44 PM
For reference:
* the board edit/add page:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg43.imageshack.us%2Fimg43%2F148%2Fscreen85x.png&hash=76822606d04cc578e95b9914b0ed35f1bde4b6b3)

* and the membergroups page:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg39.imageshack.us%2Fimg39%2F254%2Fscreen85m.png&hash=c46f5e02148a9bf0961e33b54da62cfce1b6f15c)
There is an alignment error too...I noticed it just now...no, probably it was intended...my memory is weak...