Advertisement:

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

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 48,076
[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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,430
  • Gender: Male
  • The Artist Formerly Known as LexArma
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 ;)
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 48,076
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: 68,050
    • Arantor 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)
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

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: 68,050
    • Arantor 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 :/
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

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: 68,050
    • Arantor 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 >_<)
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

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.