Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 15, 2024

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
7 checks passed
@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