Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.4.1] [7.4] Bug or feature, permission matrix, global mod vs mod
#218363 10/23/2008 6:20 PM
Joined: Aug 2006
Posts: 1,356
Yarp Offline OP
veteran
OP Offline
veteran
Joined: Aug 2006
Posts: 1,356
All our mods are global mods
We have several staff fora, and we give access to them by making them global mod
2 staff fora are for a select view. My method was, no global mod access, and give mod access. And add those users as mod for that forum. Voila, permission smile

Don't know to qualify it as a bug, but imho if a global mod can't get access through his global mod status, it should check if he has permission through his mod status.


[Linked Image from siemons.org]
Re: [7.4] Bug or feature, permission matrix, global mod vs mod
Yarp #218381 10/24/2008 1:44 PM
Joined: Aug 2006
Posts: 1,356
Yarp Offline OP
veteran
OP Offline
veteran
Joined: Aug 2006
Posts: 1,356
I fixed this in a rather simple way, in /admin/changeuser.php I just add a user to both group 2 and 3 if they are global mod. This will handle the fallback to mod status.

PHP Code

	if ($isgmod) {
		$newgroups[] = 2;
		$newgroups[] = 3;		
 

Line 3 was added.


[Linked Image from siemons.org]

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Disaster!!! Files became empty.. Please advise.
by Morgan - 07/27/2020 2:38 PM
Unable to Update Censor List
by BOTCuser - 07/22/2020 9:15 AM
7.7.4 error on rebuilders
by Ruben - 07/21/2020 3:06 PM
[STOCK] UBB.threads Group Image Pack
by isaac - 07/19/2020 9:03 PM
Who's Online Now
3 members (Ruben, Gizmo, 1 invisible), 65 guests, and 55 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200804)