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
..
2017-02-09 11:01:40 +09:00
2024-02-06 09:50:35 -06:00
2018-10-29 14:14:44 +00:00
2021-01-20 16:29:18 +01:00
2024-08-27 09:33:58 +02:00
2019-09-10 18:59:36 +02:00
2017-08-11 10:28:16 +01:00
2018-10-19 16:22:28 +05:30
2018-07-09 18:43:18 +00:00
2018-08-08 19:40:07 +02:00
2022-02-03 10:26:09 +01:00
2019-10-18 16:30:11 +02:00
2020-06-30 11:40:43 +02:00
2021-12-02 11:52:12 -06:00
2022-01-13 15:23:52 +01:00
2022-01-18 23:21:43 +01:00
2018-07-18 00:47:26 +00:00
2017-08-11 09:20:04 +01:00
2017-04-13 11:20:33 +09:00
2017-03-06 02:03:03 +00:00
2021-01-28 16:37:30 +01:00
2018-08-08 19:40:07 +02:00
2019-12-10 10:20:00 +01:00
2022-06-09 06:44:10 +00:00
2025-06-12 18:38:23 +02:00
2022-08-30 22:06:54 +02:00
2025-02-27 10:45:58 +01:00
2025-08-21 08:53:18 +01:00
2024-08-28 12:32:05 +02:00
2019-03-20 23:00:17 +00:00
2019-09-13 11:58:32 +02:00
2019-09-06 11:15:18 +02:00
2022-01-27 15:03:24 +01:00
2017-11-14 15:35:25 +00:00
2022-02-10 13:44:48 +01:00
2017-02-22 15:14:24 +00:00
2019-02-12 17:17:09 +00:00
2019-07-16 10:01:11 +02:00
2018-11-22 16:10:41 +08:00
2017-08-07 10:56:19 +00:00
2019-03-17 07:59:59 +00:00
2023-02-24 08:07:21 +01:00
2018-08-08 19:40:07 +02:00
2018-07-03 02:54:17 +00:00
2019-02-18 17:52:47 +00:00
2018-02-20 06:39:40 +00:00
2019-07-17 16:50:32 +02:00
2018-03-14 01:54:22 +00:00
2017-06-27 17:32:24 +00:00
2025-05-13 09:09:52 +02:00
2019-09-05 14:39:00 +00:00
2019-01-08 12:32:47 +00:00
2018-02-09 03:53:40 +00:00
2022-02-10 17:23:15 +00:00
2018-07-18 08:00:30 +00:00
2025-02-04 20:59:47 +00:00
2018-02-12 19:58:31 +00:00
2024-01-28 22:10:24 +00:00
2024-08-20 12:54:44 +01:00
2017-08-22 09:02:56 +00:00
2018-08-08 19:40:07 +02:00
2017-03-07 11:39:38 -05:00
2021-03-24 16:57:13 +01:00