Not finding Mailings ...
Hi, thanks for this extension.
I have been testing and it is not returning mailing which are definitely owned by the logged in user. I have tracked the reason to line 177 in mailingpermissions.php.
values[
i]['created_id'] holds the value as a string, CRM_Core_Session::getLoggedInContactID() is returning the same value as an integer. The !== is always false.
Changing the !== to != makes it work.
Not sure if this is specific to my setup. Running on Wordpress 6.3.2, OLS 1.7.15, PHP 8.1, Mariadb 10.5, mysqli 8.1.22 in a test environment.