Skip to content

[Bug]: application_logging permission required or user receives error modal #963

Description

@cancan101

Expected behavior

A user with "datahub config" can access configs with no errors.

Actual behavior

Without application_logging permission, user sees:

Image

Logs show:

[2025-04-04T19:23:58.071265+00:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: "Permission denied, user needs 'application_logging' permission." at LogController.php line 46 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\AccessDeniedHttpException(code: 0): Permission denied, user needs 'application_logging' permission. at /var/www/mdm.laticrete.com/vendor/pimcore/pimcore/bundles/ApplicationLoggerBundle/src/Controller/LogController.php:46)"} []

Steps to reproduce

Provision user with "datahub config" but not "application_logging". Have them access a config.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Affected capability

    None yet

    Platform Version

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions