]> BookStack Code Mirror - bookstack/commit
Updated image permission setting logic
authorDan Brown <redacted>
Mon, 24 May 2021 11:09:28 +0000 (12:09 +0100)
committerDan Brown <redacted>
Mon, 24 May 2021 11:09:28 +0000 (12:09 +0100)
commit2c3523f6a1237be491f400340f2f887e2ea1a5a9
treefbab59f778d0ccf5f391bc36bc10f1b2e9391196
parent7a059a5e90f902ae4e7d50ce559d9b305a94b0d1
Updated image permission setting logic

To ensure thhat the visibility is still set on local storage options
since the previous recent changes could cause problems where in
scenarios where the server user could not read images uploaded by the
php process user.

Closes #2758
app/Uploads/ImageService.php
tests/Uploads/ImageTest.php