From 3eee57b9d65b0e0c2c47841994d4cda1ea2ff755 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <timm.fitschen@ds.mpg.de> Date: Fri, 22 Mar 2019 14:45:41 +0100 Subject: [PATCH] ENH: update_acl returns entity --- src/caosdb/common/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 71c5c2b6..15d460b2 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -777,6 +777,7 @@ class Entity(object): e = Container().retrieve(query=self.id, sync=False)[0] e.acl = ACL(self.acl.to_xml()) e.update() + return e def delete(self, raise_exception_on_error=True): return Container().append(self).delete( -- GitLab