Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function rm($hash)
 {
     $this->setConnectorFromPlugin();
     if ($this->connector->security->isGranted('IS_AUTHENTICATED_FULLY')) {
         return parent::rm($hash);
     }
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function rm($hash)
 {
     $this->setConnectorFromPlugin();
     if ($this->connector->security->isGranted('ROLE_ADMIN')) {
         return parent::rm($hash);
     }
 }
Beispiel #3
0
 /**
  * {@inheritdoc}
  */
 public function rm($hash)
 {
     $this->setConnectorFromPlugin();
     if ($this->allow()) {
         return parent::rm($hash);
     }
 }