is_admin === 1; }); Gate::define('is-mod', function (XenForoUser $user) { return $user->is_moderator === 1; }); } }