iampersistent/MongoDBAclBundle — pull request #17 by jvandesande (2013-06-25 07:28:13+00:00)
Title: Add class aces below acl entry creation

My class ace was not attached to the acl entry. This change solved the problem for me. I am not sure if this is the best solution.

The ACL data in MongoDB is:

*acl_entry collection*
```json
{
"_id": ObjectId("51c82aa97f6848fb64ff834f"),
"aceOrder": NumberLong(0),
"securityIdentity": {
"role": "ROLE_ADMIN"
},
"mask": NumberLong(64),
"granting": true,
"grantingStrategy": "all",
"auditSuccess": false,
"auditFailure": false,
"class": "My\\Bundle\\Document\\User"
}
```

*acl_oid collection*
```json
{
"_id": ObjectId("51c82aa97f6848fb64ff834e"),
"identifier": "class",
"type": "My\\Bundle\\Document\\User",
"entriesInheriting": true
},
{
"_id": ObjectId("51c8555d7f6848d1c084f0ec"),
"identifier": "51c2e9707f6848b311e6aa95",
"type": "My\\Bundle\\Document\\User",
"entriesInheriting": true
}
```