Reapply model policies when an object is saved
diff --git a/xos/core/models/plcorebase.py b/xos/core/models/plcorebase.py
index b9a2345..5e3e287 100644
--- a/xos/core/models/plcorebase.py
+++ b/xos/core/models/plcorebase.py
@@ -185,7 +185,8 @@
if (not self.write_protect):
self.deleted = True
self.enacted=None
- self.save(update_fields=['enacted','deleted'], silent=silent)
+ self.policed=None
+ self.save(update_fields=['enacted','deleted','policed'], silent=silent)
def save(self, *args, **kwargs):