createRule()); $this->addReport(Report::createInfo( 'Back Office access was successfully granted to the AdvancedSearch controller.' )); } public function down(Schema $schema): void { AclProxy::revokeRule($this->createRule()); $this->addReport(Report::createInfo( 'Back Office access was successfully revoked from the AdvancedSearch controller.' )); } private function createRule(): AccessRule { return new AccessRule( AccessRule::GRANT, TaoRoles::BACK_OFFICE, ['ext' => 'tao', 'mod' => 'AdvancedSearch'] ); } }