Moderator actions aren't logged if the user isn't a moderator

Status
This content is read-only, or is not open for further replies.

PaulB

Guest
offline
Non-moderators can be given moderator permissions. If this happens, the moderator log handler won't log any moderator-like actions that they perform.

In XenForo_ModeratorLogHandler_Abstract#log:

PHP:

Code:
if (!$logUser['user_id'] || !$logUser['is_moderator'] || !$this->isLoggable($logUser, $content, $action))
{
    return false;
}

For example, if Steve has the ability to approve threads in a specific forum he curates, but isn't a full moderator, his approvals won't be logged.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom