Skip to content
Snippets Groups Projects
Unverified Commit 3eee57b9 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

ENH: update_acl returns entity

parent 96b2115e
No related branches found
No related tags found
No related merge requests found
...@@ -777,6 +777,7 @@ class Entity(object): ...@@ -777,6 +777,7 @@ class Entity(object):
e = Container().retrieve(query=self.id, sync=False)[0] e = Container().retrieve(query=self.id, sync=False)[0]
e.acl = ACL(self.acl.to_xml()) e.acl = ACL(self.acl.to_xml())
e.update() e.update()
return e
def delete(self, raise_exception_on_error=True): def delete(self, raise_exception_on_error=True):
return Container().append(self).delete( return Container().append(self).delete(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment