News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Board is not hidden after removing all checks in board permissions

Started by Mareid, February 24, 2023, 07:02:07 PM

Previous topic - Next topic

Mareid

I'm using 2.13.  I have a board I want hidden from everybody but me (I'm the admin).  Following discussions on this board I unchecked every group in the board's "allowed groups".  I created a new login without admin privileges and I can still see the board title with the unchecked groups.  What I want to do is hide the very existance of the hidden board from everyone, including "regular members" who don't belong to a particular membership group.  I'm sure this is possible but I find the whole permission system a little confusing.

DeadMan...

I'm guessing that you remembered to hit the save button, when deselected all groups in the board's "Allowed Groups", so I'm guessing that you somehow have a permissions setting that you or a modification changed.

Is the board set to the default permissions setting?
I tell it how I see it... Don't like it? Hit Alt+F4!

Arantor

If that group can see it still, they either somehow have manage boards permission, or it's visible to someone by way of a different group; every user is always in at least two groups, their main group and their post count group (and then any other groups they may have)

Also please ensure you have at least one post count group that starts at 0 posts.

Sir Osis of Liver

If all groups are disallowed in board settings, no one but admins should be able to see the board.  Post count groups are treated as any other group in Allowed Groups.  Visible Boards in Membergroup settings are linked to Allowed Groups in board settings, change one and it changes the other.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Mareid

Yes, I did remember to hit "Save".  The overall permissions for the board is  set to "default". All boxes in the permissions list on the specific board are unchecked.  

I am using the default post count groups, and the "Newbie" group is set to 0 posts.

I do not have any custom membergroups, just the default ones of Admin, Global Moderator & Moderator, and my admin account is the only one in any of those groups. So presumably all members are in "Regular Members" group by default?

I created a new user and logged in with the new user on a different browser (Firefox rather than Chrome).  That new user can see the Board titles and descriptions but gets an error message when they attempt to access the board "The topic or Board...off limits". 

What I really want is for the board to be invisibie, as if it did not exist,  to users that don't have access.

I have attached a partial screen shot of the page that comes up when I modify a board. 

Sir Osis of Liver

That's interesting.  In 2.0, if all Allowed Groups are unchecked, no one except admins can see the boards on board index.  In 2.1, boards are visible to everyone, including guests, they just can't access them.  I'm not seeing any way to change that in settings or permissions.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sesquipedalian

Quote from: Sir Osis of Liver on February 25, 2023, 09:56:05 PMThat's interesting.  In 2.0, if all Allowed Groups are unchecked, no one except admins can see the boards on board index.  In 2.1, boards are visible to everyone, including guests, they just can't access them.  I'm not seeing any way to change that in settings or permissions.

If so, that would be a bug to report.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

shawnb61

Yeah, confirmed.  As soon as you assign it to a specific group, it behaves properly.  But with no group, it is visible to guests.  Even with the guest box unchecked.  They are only turned away after clicking the link.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Sir Osis of Liver

Ok, so a simple workaround is to create a new membergroup ("Hide Boards"), enable it in Allowed Boards, and only admins will see the board.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

shawnb61

Another workaround:  Temporarily gave the board permissions to 'Global Moderators'.  Hit save.  Remove the permission (so back to no groups selected again).  Press save.  This corrects the issue for that board.

Issue logged:
https://github.com/SimpleMachines/SMF/issues/7689
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Sir Osis of Liver

Looks like if you allow any group then disallow all, it fixes the problem.  Doesn't make a lot of sense. ???
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Mareid


TwitchisMental

Quote from: Mareid on February 26, 2023, 01:30:38 PMShould I report this as a bug?
This has already been logged as a bug on GitHub. Thank you for bringing it to the teams attention.

Mareid

By the way,since I have no global moderators anyway, I simply checked global moderaters and left it checked.  That worked as well as checking and unchecking.

Advertisement: