Advertisement:

Author Topic: [2.1/3.0] Deny Access to board  (Read 21403 times)

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,848
[2.1/3.0] Deny Access to board
« 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.
« Last Edit: December 19, 2012, 04:46:08 AM by emanuele »

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,400
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Deny Access to board
« Reply #1 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 ;)
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,848
Re: Deny Access to board
« Reply #2 on: January 31, 2011, 06:49:14 AM »
sounds good ;) and i think could be very helpful by that time.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,308
    • StoryBB/StoryBB on GitHub
Re: Deny Access to board
« Reply #3 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)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Norv

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,313
  • Blue Wolf
Re: Deny Access to board
« Reply #4 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
To-do lists are for deferral. The more things you write down the later they're done… until you have 100s of lists of things you don't do.
File a security report | Developers' Blog | Bug Tracker

Also known as Norv on D* | Norv N. on G+ | Norv on Github

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [2.1/3.0] Deny Access to board
« Reply #5 on: December 19, 2012, 04:47:35 AM »
This is in 2.1.

Friendly bump to remember to move the topic later.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Darkness_Black

  • Sophist Member
  • *****
  • Posts: 1,139
  • Gender: Male
  • Translator SMF - BR
    • www.facebook.com/gilvanroberto on Facebook
    • @gilvanroberto on Twitter
    • Translator SMF - BR
Re: [2.1/3.0] Deny Access to board
« Reply #6 on: January 28, 2013, 12:00:32 PM »
This is in 2.1.

Friendly bump to remember to move the topic later.

Very Good.
Translator - Brazilian

Não respondo MP de ajuda, Poste sua duvida no forum!!! Se alguém te Ajudou Agradeça!!!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,308
    • StoryBB/StoryBB on GitHub
Re: [2.1/3.0] Deny Access to board
« Reply #7 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 :/
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [2.1/3.0] Deny Access to board
« Reply #8 on: January 28, 2013, 05:18:46 PM »
The usual A X D with radio buttons.
But in the membergroup page is quite ugly...


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,308
    • StoryBB/StoryBB on GitHub
Re: [2.1/3.0] Deny Access to board
« Reply #9 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 >_<)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [2.1/3.0] Deny Access to board
« Reply #10 on: January 28, 2013, 06:22:44 PM »
For reference:
* the board edit/add page:


* and the membergroups page:

There is an alignment error too...I noticed it just now...no, probably it was intended...my memory is weak...


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.