- πΉπ·Turkey kyilmaz80
Hello and thanks for adding this feature,
I tested the new patch on Drupal 10.2.5 and Php 8.2.7. The access logic did not worked as expected. The code below have to be changed:
$is_owner = (bool) $account->id() == $file->getOwnerId();
to
$is_owner = $account->id() == $file->getOwnerId();
bool cast have a problem i think. Overall the patch worked after that. I am also adding the revised patch ( add_permission_for_own_files-r1-240426.patch β ).
Best regards,
-Koray