zerodine / MongoDBAclBundle

This bundle allows the use of MongoDB as the storage layer for the Symfony ACLs component.
21 stars 32 forks source link

Fix deleting of complete acl for oid #28

Closed danez closed 10 years ago

danez commented 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.

cordoval commented 10 years ago

ping @Danez please rebase and let's see if travis approves then i will merge after testing

cordoval commented 10 years ago

merged Thanks @Danez