Closed danez closed 10 years ago
When calling deleteAcl() non of the Access-Control-Entries was deleted, due to the criteria beeing wrong. There was a .$id missing.
Also if the oid was not saved (or is deleted) an MongoException occurred when trying to delete the Acl for a non existent oid.
Provided a test for the bug.
ping @Danez please rebase and let's see if travis approves then i will merge after testing
merged Thanks @Danez
When calling deleteAcl() non of the Access-Control-Entries was deleted, due to the criteria beeing wrong. There was a .$id missing.
Also if the oid was not saved (or is deleted) an MongoException occurred when trying to delete the Acl for a non existent oid.
Provided a test for the bug.