Skip to content

[FIX] Restrict background job execution - #29

Merged
DancejovaK merged 1 commit into
19.0-code_review-aifrom
19.0-code_review-ai-pr/action-1730-change-36-restrict-background-job-execution
Nov 16, 2026
Merged

DancejovaK merged 1 commit into
19.0-code_review-aifrom
19.0-code_review-ai-pr/action-1730-change-36-restrict-background-job-execution

Conversation

@alainbloos

Copy link
Copy Markdown
Collaborator

Summary

  • Apply BTL review AR-6 from 2026-11-06.
  • Add a dedicated Background Jobs manager group. Internal users can read only their own jobs and can no longer create or edit jobs directly.
  • Create queued jobs with sudo(), and allow cancel or retry only for the owner, a manager, or the runner.
  • Refuse private methods and direct execution outside the job runner.
  • Bump base_bg from 19.0.1.1.0 to 19.0.1.1.1.

Validation

  • Local Python, XML, diff, Ruff, and Ruff format checks passed.
  • No Odoo database is configured, so no installation or functional test was run.

@DancejovaK
DancejovaK marked this pull request as ready for review November 16, 2026 14:45
@DancejovaK
DancejovaK merged commit a9c66b0 into 19.0-code_review-ai Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants