<?php

namespace Concrete\Core\Permission\Category\TaskHandler;

use Concrete\Core\Error\UserMessageException;
use Concrete\Core\Permission\Category\DefaultTaskHandler;
use Concrete\Core\Permission\Checker;

defined('C5_EXECUTE') or die('Access Denied.');

class Logs extends DefaultTaskHandler
{
    /**
     * {@inheritdoc}
     *
     * @see \Concrete\Core\Permission\Category\DefaultTaskHandler::checkAccess()
     */
    protected function checkAccess(): void
    {
        $p = new Checker();
        if (!$p->canAccessTaskPermissions()) {
            throw new UserMessageException(t('Access Denied.'));
        }
    }
}

Add missing permission category task handler: logs
Add missing permission category task handler: logs
