Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: InternetMafia on December 12, 2008, 03:17:30 PM

Title: Moderation for Admins?
Post by: InternetMafia on December 12, 2008, 03:17:30 PM
When I updated to 2.0 Beta 4 from 1.1.7, whenever an administrator posts they have to approve the post.

I have searched and searched on how to turn it off but cant find it anywhere.

FYI, regular members and mods can post with no issues
Title: Re: Moderation for Admins?
Post by: Oldiesmann on December 12, 2008, 06:58:38 PM
They are members of the Administrator group correct?

I can't figure out what would be causing that, as allowedTo() should return true for admins regardless of what permission we're checking.
Title: Re: Moderation for Admins?
Post by: InternetMafia on December 12, 2008, 07:59:34 PM
Yes, they are members of the Administration group
Title: Re: Moderation for Admins?
Post by: Oldiesmann on December 12, 2008, 09:42:35 PM
I'm not sure what the issue is then.

This line of code in the allowedTo() function should prevent that from happening:
// Administrators are supermen :P.
if ($user_info['is_admin'])
return true;
Title: Re: Moderation for Admins?
Post by: InternetMafia on December 12, 2008, 09:44:33 PM
Excuse me for being a dummy, but could you tell me where to find that code so I can check and see if it is there.
Title: Re: Moderation for Admins?
Post by: Oldiesmann on December 12, 2008, 09:48:44 PM
Sources/Security.php, lines 768-770.