/**
  * Removes fallback Acl entries for the Comment class.
  *
  * This should be run when uninstalling the CommentBundle, or when
  * the Class Acl entry end up corrupted.
  *
  * @return void
  */
 public function uninstallFallbackAcl()
 {
     $oid = new ObjectIdentity('class', $this->commentClass);
     $this->aclProvider->deleteAcl($oid);
 }
 /**
  * {@inheritdoc}
  */
 public function deleteAcl(ObjectIdentityInterface $objectIdentity)
 {
     $this->aclProvider->deleteAcl($objectIdentity);
 }
예제 #3
0
 /**
  *
  * @param object $object
  */
 public function deleteAcl($object)
 {
     $this->aclProvider->deleteAcl($this->getNoProxyIdentityObject($object));
 }
예제 #4
0
 /**
  * {@inheritDoc}
  */
 public function uninstallFallBackAcl()
 {
     $this->aclProvider->deleteAcl($this->oid);
 }
예제 #5
0
 /**
  * {@inheritdoc}
  */
 public function deleteAclForObject($object)
 {
     $this->aclProvider->deleteAcl($this->aclIdentifier->getObjectIdentity(AclIdentifierInterface::OID_TYPE_OBJECT, $object));
 }