Files
Matt Crees e407e8da02 Fix owner policy enforcement
Previously, target was always None, and so ownership check essentially
compared the current context against itself. Under this implementation,
if the target is None, we look up the relevant object based on kwargs,
and then use this object as the target.

At the moment "lease" is the only type of object that has ownership,
and so it is the only case.

Co-Authored-By: Mark Powers <markpowers@uchicago.edu>
Closes-Bug: #2120655
Change-Id: I4bb85d650f4d7f3534206f1c4690cef8eca0a4c2
Signed-off-by: Matt Crees <mattc@stackhpc.com>
2025-08-21 08:53:18 +01:00
..