public function getLimit($user_id)
    {
        if (is_numeric($user_id)) {
            $user = $this->user->get($user_id);
            if (isset($user['role_id'])) {
                return $this->getLimitByRole($user['role_id']);
            }
        }

        return $this->getDefaultLimit();
    }