public function resetAdminRights()
    {
        /** @var ACLManipulator $aclManipulator */
        $aclManipulator = $this->app['manipulator.acl'];
        $aclManipulator->resetAdminRights($this->getUserRepository()->findAdmins());

        return $this->app->redirectPath('admin_dashboard');
    }
public function resetAdminRights()
    {
        /** @var ACLManipulator $aclManipulator */
        $aclManipulator = $this->app['manipulator.acl'];
        $aclManipulator->resetAdminRights($this->getUserRepository()->findAdmins());

        return $this->app->redirectPath('admin_dashboard');
    }
public function resetAdminRights ( ) { /** @var ACLManipulator $aclManipulator */ $ aclManipulator = $ this -> app [ 'manipulator.acl' ] ; $ aclManipulator -> resetAdminRights ( $ this -> getUserRepository ( ) -> findAdmins ( ) ) ; return $ this -> app -> redirectPath ( 'admin_dashboard' ) ; }
Reset admin rights

@return RedirectResponse
Reset admin rights