While debugging accessCheck issues on a newly upgraded D10 site (from D9) I noticed this module's src/form/DmbNotificationTypeDeleteConfirm.php contains an accessCheck without setting "TRUE" or "FALSE". I did use Upgrade Status but it somehow did not catch this one.

I believe it should be set to TRUE, based on there being an accessCheck in this file. I have attached a patch.

I marked this as a Task (not a Bug) because I'm unsure what (if any) issues this causes, but it should probably be changed.

Comments

caspervoogt created an issue. See original summary.

caspervoogt’s picture

Issue summary: View changes
StatusFileSize
new637 bytes

mojiferous’s picture

Status: Active » Fixed

Thanks for the find! That would definitely throw an error in D10, so I have added your patch and made a new release

caspervoogt’s picture

Category: Bug report » Task
caspervoogt’s picture

Issue summary: View changes
caspervoogt’s picture

I missed one: src/Service/DmbNotificationService.php also has an empty access check.

caspervoogt’s picture

StatusFileSize
new742 bytes

ignore this patch

mojiferous’s picture

Committed and added a release for that as well

caspervoogt’s picture

caspervoogt’s picture

caspervoogt’s picture

ignore 34113526-accesscheck-not-set-service.patch and use 34113526-accesscheck-not-set-notificationservice.patch instead pls

caspervoogt’s picture

This is actually fine. I forgot that it is set to true by default so I was making much ado about nothing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.