Previous Thread
Next Thread
Print Thread
Hop To
Permissions problem #261847 11/25/2018 10:44 PM
Joined: Oct 2007
Posts: 263
Baldeagle Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 263
On our forum, we have a Moderator Forum that's only visible to Administrators, Global Moderators, and Moderators. Except there's a problem with that. Even as a Guest I can view posts in the Moderator Forum.

I can demonstrate this to you easily. Go to this thread: https://www.stovebolt.com/ubbthreads/ubbthreads.php/topics/1288422/new-addition.html#Post1288422

The Moderator in this thread is Achipmunk. Click on his Display Name, then select Show Forum Posts. From the dropdown list of his posts, select one in the Moderator Forum.

Click on it. You'll be viewing a thread in the Moderator Forum.

Now scroll to the top and click on Moderator Forum in the breadcrumbs.

You'll be taken to a login page and told you don't have permission to see this as a guest.

Click on Previous Page and you'll go right back to the forum you don't have permission to view.

This seems like a loophole in the code. A quick and dirty way to fix it would be to never display posts for a prohibited forum in the Posts list, but that ISTM doesn't really fix the problem.

The real problem is that you should not be allowed to view a post if you don't have permission to view it no matter how you arrived at it. If I send you the link to the post directly, you can view it as a Guest, without having to go through the above steps. So it appears that permissions are not being verified before viewing posts.


The Stovebolt Geek
http://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB
Express Hosting
Re: Permissions problem [Re: Baldeagle] #261849 11/25/2018 11:35 PM
Joined: Jun 2006
Posts: 15,851
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,851
I am unable to replicate this here at UBBCentral, what do the permissions show for "Can read threads" AND "Can see forum" on the guest user group in that forum?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Permissions problem [Re: Baldeagle] #261850 11/26/2018 2:21 AM
Joined: Apr 2004
Posts: 1,503
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,503
As Gizmo wrote,
it looks like in your Moderator forum, you are denying "Can see forum" permissions to guests, while giving them "Can read threads" permission.

Attached screenshot of the correct setting for your desired configuration.

It's probably also a good idea to review the rest of the your [admin/moderator forum title] Forum Permissions while on its page.

Attached Files 20181125_22-18-01.PNG

isaac @ id242.com // my forum @ CelicaHobby.com
a current developer of UBB.threads php forum software // 7.7.3 released!
Re: Permissions problem [Re: Baldeagle] #261851 11/26/2018 2:55 PM
Joined: Oct 2007
Posts: 263
Baldeagle Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 263
Thanks. It looks like a standard template got applied to that forum at some point. I had to correct quite a few permissions in that forum. It's fixed now. Thanks for the pointers.


The Stovebolt Geek
http://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
visual accessibility issues.v7.7.3
by Ruben - 08/21/2019 1:50 PM
Holy grail to fix compatibility bewteen browsers
by Ruben - 08/20/2019 4:25 PM
File Manager and Image Uploads
by Ty Griffin - 08/19/2019 4:48 PM
Minimum Post Character Count
by M4TT - 08/19/2019 1:58 PM
[FIXED for 7.7.4] Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Who's Online Now
2 registered members (Gizmo, isaac), 58 guests, and 256 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Photos
Stones
Amusing Terain Scenics
Sky places
Work spaces
Powered by UBB.threads™ PHP Forum Software 7.7.3