News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Moderation for Admins?

Started by InternetMafia, December 12, 2008, 03:17:30 PM

Previous topic - Next topic

InternetMafia

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
Its better to be dead and cool than alive and uncool.

Oldiesmann

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.
Michael Eshom
Christian Metal Fans

InternetMafia

Yes, they are members of the Administration group
Its better to be dead and cool than alive and uncool.

Oldiesmann

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;
Michael Eshom
Christian Metal Fans

InternetMafia

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.
Its better to be dead and cool than alive and uncool.

Oldiesmann

Sources/Security.php, lines 768-770.
Michael Eshom
Christian Metal Fans

Advertisement: