Skip to content

[16.0][FIX] fs_storage: add missing sudo when creating FilsSystem#385

Merged
OCA-git-bot merged 1 commit intoOCA:16.0from
acsone:16.0-fs-storage-missing-sudo-sbi
Jul 15, 2024
Merged

[16.0][FIX] fs_storage: add missing sudo when creating FilsSystem#385
OCA-git-bot merged 1 commit intoOCA:16.0from
acsone:16.0-fs-storage-missing-sudo-sbi

Conversation

@sbidoul
Copy link
Member

@sbidoul sbidoul commented Jul 12, 2024

This is necessary for non admin users to access file systems, for instance for attachments.

This went unnoticed so far presumably because the filesystem is cached and likely accessed by the server during server bootstrap. I could confirm this by starting my dev server, accessing an attachment as a normal user (failed), then accessing an attachment as admin (succeeded), then as a normal user again (success).

This is necessary for non admin users to access file systems, for
instance for attachments.

This went unnoticed so far presumably because the filesystem is cached
and likely accessed by the server during server bootstrap.
@sbidoul sbidoul added this to the 16.0 milestone Jul 12, 2024
@sbidoul sbidoul requested a review from lmignon July 12, 2024 14:15
@sbidoul sbidoul changed the title [FIX] fs_storage: add missing sudo when creating FilsSystem [16.0][FIX] fs_storage: add missing sudo when creating FilsSystem Jul 12, 2024
@lmignon
Copy link
Contributor

lmignon commented Jul 15, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-385-by-lmignon-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit bca67d9 into OCA:16.0 Jul 15, 2024
@lmignon lmignon deleted the 16.0-fs-storage-missing-sudo-sbi branch July 15, 2024 07:20
@OCA-git-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants