- Issue created by @mikeryan
- Status changed to RTBC
8 months ago 8:57am 13 March 2024
Assigning the "view event log entities" permission to a role allows that role to see the event log entity view - but clicking on an entity to bring up the details fails. The reason is that EventLogAccessControlHandler is checking the non-existent "view published event log entities" and "view unpublished event log entities".
Untested, but I see the access controller also references "delete event log entities" and "add event log entities" permissions which are not defined in events_logging.permissions.yml.
For the immediate issue, I'll upload a patch to have the access controller simply check "view event log entities".
All the missing permissions should be added to the permission configuration. Although it might be worth thinking about whether they're needed - what's the use case for creating log entities through the admin UI? Why would they ever be unpublished?
N/A
N/A
N/A