Listener/DisablePermissionSubscriber.php
public function disablePermissionManager(AbstractEditableSecurityEvent $event): void
    {
        $event->setPermissionEnabled($this->permManager->isEnabled());
        $this->permManager->setEnabled(false);
    }
public function disablePermissionManager(AbstractEditableSecurityEvent $event): void
    {
        $event->setPermissionEnabled($this->permManager->isEnabled());
        $this->permManager->setEnabled(false);
    }
public function disablePermissionManager ( AbstractEditableSecurityEvent $ event ) : void { $ event -> setPermissionEnabled ( $ this -> permManager -> isEnabled ( ) ) ; $ this -> permManager -> setEnabled ( false ) ; }
Disable the permission manager.

@param AbstractEditableSecurityEvent $event The event
Disable the permission manager .