Skip to content

[18.0][FIX] impersonate_login: keep attachment ownership for access checks - #1070

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
camptocamp:18.0-fix-impersonate_login-attachment
Nov 24, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:18.0from
camptocamp:18.0-fix-impersonate_login-attachment

Conversation

@divad1196

@divad1196 divad1196 commented Nov 17, 2026 •

Copy link
Copy Markdown

Context

Avoid rewriting create_uid/write_uid on ir.attachment during impersonation.
Temporary report/email attachments may be created without res_model/res_id and core access checks rely on creator ownership for read access in that case.

Same as #951

Avoid rewriting create_uid/write_uid on ir.attachment during impersonation.
Temporary report/email attachments may be created without res_model/res_id and
core access checks rely on creator ownership for read access in that case.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @Kev-Roche,
some modules you are maintaining are being modified, check this out!

@divad1196 divad1196 changed the title [FIX] impersonate_login: keep attachment ownership for access checks [18.0][FIX] impersonate_login: keep attachment ownership for access checks Nov 17, 2026
@divad1196

Copy link
Copy Markdown
Author

@simahawk

@simahawk simahawk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@thomaspaulb

Copy link
Copy Markdown

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-1070-by-thomaspaulb-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 98a7146 into OCA:18.0 Nov 24, 2026
12 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 5519f36. 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.

6 participants