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