Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Lock settings with ManagedByDeployment

Step by step - switch on ManagedByDeployment for the production administration siteaccess so the web interface cannot change settings, templates, extensions or packages, after moving those settings into version control…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/tasks/compliance/lock-settings-with-managed-by-deployment.md

On this page

Lock settings with ManagedByDeployment

For administrators and developers of public bodies with change management. With the switch on, the administration can no longer write *.ini.append.php or .tpl files, activate extensions, run the setup wizard or code generators, or install packages (Configuration managed by the deployment).

Contents

  1. Before you start
  2. Steps
  3. Check that it worked
  4. Related pages

Before you start

  • Every setting and template the administration changed on the server is in version control. Compare the server's settings/siteaccess/ and design folders with the repository first.
  • Secrets stay in settings/override/, outside version control.
  • The command line keeps working (exp:ini, bin/php/*.php); administrators need a change process for settings.

Steps

  1. In the administration siteaccess's versioned site.ini.append.php (or an extension's versioned settings):

    [ConfigurationSettings]
    ManagedByDeployment=enabled
  2. Deploy as usual; clear the INI cache and reload PHP (or ./console exp:velocity deploy --allow-root-user).

Check that it worked

  • Setup > Ini settings shows values, with no edit links.
  • /setup/rad, /setup/extensions and the template editor answer like a switched-off view (404 by default).
  • Packages: the list offers no upload or install.
  • A setting write from the debug bar is refused.

Keys the code generates on first use (audit keys, mail preference secret) are still written.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x