Improve executing commands with a user context implementation

Description

PR: https://github.com/truenas/middleware/pull/8028

This PR adds changes to use python to change user context in a process and then having a reusable implementation which can be used in other places as required to execute certain functions as some user.

Problem/Justification

None

Impact

None

Activity

Show:
Complete

Details

Assignee

Reporter

Time remaining

0m

Components

Fix versions

Priority

Katalon Platform

Created December 22, 2021 at 8:39 AM
Updated February 22, 2022 at 2:27 PM
Resolved December 27, 2021 at 11:09 AM