N°9711 - Block user from going back to the setup (#954)

* N°9711 - Store setup parameters in session

* N°9711 - Restrict database parameters display to administrators in setup summary
This commit is contained in:
Eric Espié
2026-07-02 12:00:22 +02:00
committed by GitHub
parent e882df96d9
commit a335e1004b
21 changed files with 311 additions and 188 deletions

View File

@@ -76,6 +76,11 @@ abstract class WizardStep
{
}
public function CanAccessToWizardStep()
{
return ($this->oWizard->GetParameter('return_application', '') === '');
}
protected function CheckDependencies()
{
if (is_null($this->bDependencyCheck)) {
@@ -187,15 +192,6 @@ abstract class WizardStep
return 'return true;';
}
/**
* Tells whether this step of the wizard requires that the configuration file be writable
* @return bool True if the wizard will possibly need to modify the configuration at some point
*/
public function RequiresWritableConfig()
{
return true;
}
/**
* Overload this function to implement asynchronous action(s) (AJAX)
* @param string $sCode The code of the action (if several actions need to be distinguished)