OCA / storage

GNU Affero General Public License v3.0
66 stars 148 forks source link

[FIX] fs_attachment: add a few missing sudo to fs_attachment #308

Closed sbidoul closed 7 months ago

sbidoul commented 7 months ago

fs.storage is protected as it contains credentials. It must be accessed sudo when needed for regular users manipulating ir.attachments.

I also add some sudo in compute functions. These are currently executed sudo anyway but this may change in the future.

OCA-git-bot commented 7 months ago

Hi @lmignon, some modules you are maintaining are being modified, check this out!

sbidoul commented 7 months ago

/ocabot merge patch

OCA-git-bot commented 7 months ago

What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-308-by-sbidoul-bump-patch, awaiting test results.

OCA-git-bot commented 7 months ago

Congratulations, your PR was merged at 5d1fb30e5ec93cd7f53e1d16f7e5b04f6507b638. Thanks a lot for contributing to OCA. ❤️