Files
WYGIWYH/app/apps/common
Moshe Levi 68a9286ce5 Fix BOLA on transaction-rule endpoints via get_owned_object_or_403
Add apps.common.functions.get_owned_object_or_403, an ownership-enforcing
variant of get_object_or_404, and apply it across every rules handler that
resolved a TransactionRule / (UpdateOrCreate)TransactionRuleAction from a URL id
without an owner check. Mirrors the check in transaction_rule_edit
(obj.owner and obj.owner != request.user); objects with no owner remain
accessible, preserving existing behaviour. Nested ownership (actions owned via
their parent rule) is handled with owner_path='rule.owner'.
2026-08-31 20:14:40 +03:00
..
2025-08-16 17:38:22 -03:00
2025-03-08 12:03:17 -03:00
2024-09-26 11:00:40 -03:00
2025-11-09 15:31:50 -03:00
2024-09-26 11:00:40 -03:00
2025-11-09 15:31:50 -03:00