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

Fix impersonation issue with LocalTaskJob #16852

Merged
merged 1 commit into from Jul 7, 2021

Commits on Jul 7, 2021

  1. Fix impersonation issue with LocalTaskJob

    Running a task with run_as_user fails because PIDs are not matched
    correctly.
    
    This change fixes it by matching the parent process ID of the task instance
    to the current process ID of the task_runner process when we use impersonation
    
    Update tests/jobs/test_local_task_job.py
    
    Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
    
    fixup! Update tests/jobs/test_local_task_job.py
    
    fixup! Fix impersonation issue with LocalTaskJob
    ephraimbuddy committed Jul 7, 2021
    Copy the full SHA
    f0e6ede View commit details
    Browse the repository at this point in the history