Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Board access
« on February 27th, 2012, 01:41 AM »
OK, so this has been driving me nuts for months.

Some of you may know that we integrated the ability to split board viewing (on the board index) from access a while back, much as View Only Boards mod lets you do (or, the mod I wrote for any of you who remember that, haha[nb]Those of you who don't, it turns view/enter into physical board permissions)

On top of that, I actually made it so you could deny access to boards as opposed to just not allowing (e.g. if you wanted to have a banned group who could only access one board to plead their case)

But I couldn't figure out the interface to make it work, and I'm still not 100% about this but it's the nearest I've got to anything workable.

The first picture is the default that you'll see on making a new board - keeping in simple (where view = access, and no deny). The second picture turns on view != access, the third turns on deny as well (but of course you can turn on deny separately to view != access)

Thoughts?
Posted: February 27th, 2012, 01:40 AM

Sorry that it's a bit confusing with the attachments, I probably should have used the gallery >_<

📎 boards_1.png - 21.76 kB, 640x409, viewed 188 times.

📎 boards_2.png - 25.53 kB, 640x419, viewed 195 times.

📎 boards_3.png - 27.39 kB, 640x405, viewed 186 times.

When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

spoogs

  • Posts: 417
Re: Board access
« Reply #2, on February 27th, 2012, 04:07 AM »
I do like this approach better than the View/Enter mod. If I'm understanding correctly this will be controlled by board access rather than "permission profiles"?
Stick a fork in it SMF

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Board access
« Reply #3, on February 27th, 2012, 04:10 AM »
Yes. The view/enter mod was an ugly hack to be able to support denying without hacking up too much of SMF's code.

This allows for everything that View/Enter mod does - but without doing it as a permission, plus it's configured from the board directly, and it's much cleaner in the process. So you can do arbitrary view/enter settings per board without having to mess around with profiles.

spoogs

  • Posts: 417
Re: Board access
« Reply #4, on February 27th, 2012, 04:14 AM »
Very cool... I'm all for it, less profiles to create.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Board access
« Reply #5, on February 27th, 2012, 04:18 AM »
Yup :)

The way it's set up is that it's intentionally closest to how you'd do it in SMF - simplest case (either a group can see/enter a board or they can't), but that it's easy to make it more complex if you need to. (SMF does get some things right :P)

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
Re: Board access
« Reply #6, on February 27th, 2012, 07:53 AM »
So we are seeing a Private board but cannot enter if you set it so?
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Board access
« Reply #7, on February 27th, 2012, 10:52 AM »
Amusingly (or not!), I always thought this was already implemented by you, Pete... :P

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Board access
« Reply #8, on February 27th, 2012, 01:05 PM »
Quote from Nathan Sparrow on February 27th, 2012, 07:53 AM
So we are seeing a Private board but cannot enter if you set it so?
If you want to, yes. Or you can have boards that are invisible but accessible. And you can have groups that are prevented from seeing/entering regardless of any other groups a user might be in.
Quote from Nao on February 27th, 2012, 10:52 AM
Amusingly (or not!), I always thought this was already implemented by you, Pete... :P
It's been on my todo list for ages, only last night I finally figured out how to make a reasonably sane UI for it.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Board access
« Reply #9, on February 28th, 2012, 12:05 AM »
With that kind of granularity, I'm surprised you could even consider not allowing topic privacy for multiple specific membergroups and contact lists... I'm sure that's something you'd have brought up less than a few months after the feature was implemented :P

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Board access
« Reply #10, on February 28th, 2012, 12:08 AM »
Quote
With that kind of granularity, I'm surprised you could even consider not allowing topic privacy for multiple specific membergroups and contact lists... I'm sure that's something you'd have brought up less than a few months after the feature was implemented
The thing is, it's not really that granular, not compared to topic privacy - this is quite coarse in the scheme of things. But like most things, a certain amount of this is scratching my own itch, I have need of some of these things ;)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Board access
« Reply #11, on February 28th, 2012, 12:10 AM »
Hey, feel free to scratch :) We're natural born scratchers!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Board access
« Reply #12, on February 28th, 2012, 12:11 AM »
:D

That's why I'm currently working on the chess mod, it's something I've wanted for a while (and while there is an SMF mod, it's a shade buggy in places and I don't like how certain things were done in it)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Board access
« Reply #13, on February 28th, 2012, 12:31 AM »
Yep, I remember that...

Okay, time for bed. I'm gonna get killed otherwise :P

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Board access
« Reply #14, on March 4th, 2012, 03:17 AM »
Argh, I just remembered there's another interface for group->board access - the edit-membergroup screen. I suspect I'm basically going to reimplement the same code, except instead of using group names, it'll be board names, but it's too late and I'm feeling too ill to tackle this properly tonight.