Problematic/ProblematicAclManagerBundle — Issue #13: $identifier cannot be empty, when creating class scope
Author: mailaneel
Created: 2012-02-24 16:37:18+00:00
State: open

```php
$aclManager = $this->get('problematic.acl_manager');
$aclManager->setClassPermission('Entity\Subscriber', MaskBuilder::MASK_OWNER, 'ROLE_CLIENT');
```
internally setClassPermission is using $oid = ObjectIdentity::fromDomainObject($domainObject); instead i think we should check the type and then get the oid because for class type we should use new ObjectIdentity($identifier, $type)