[ExtensionExportSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [ExtensionExportSettings] of settings/package.ini.
File
settings/package.ini; override it in settings/override/package.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| AllowedExtensions[] | (empty array) | Exporting an extension as a package (Setup > Extensions, the package wizard, ezpm.php add) is switched off by default. Every way also refuses an extension that holds secret values or key material (eZExtensionPackageHandler::packRefusal()). An extension's maintainer can name findings of the check that are known not to be secrets (a documentation example the check cannot tell from a real value) in a file package_check.ini at the root of the extension, one per line: AllowedFindings[]=<path below the extension>:<setting name or (kind)>, for example AllowedFindings[]=settings/recaptcha.ini.append.php:PrivateKey. It can only leave out what it names: key files, a private key block, a copy of a settings file and a link are always refused. Guide: doc/eng-us/bc/6.0/extension-package-secret-check.md ACTION REQUIRED to export: list the extension here AND grant the policy package/export_extension to the role. The extensions that may be exported. Empty (the default): none. "*": every extension the check lets through. Applies to every way, the command line included. Example: AllowedExtensions[]=myextension AllowedExtensions[]=* |
| RequirePolicy | enabled | enabled (the default): exporting an extension in the administration also needs the policy package/export_extension (the Administrator role with all functions has it). disabled: the access to Setup > Extensions or to the package wizard is enough. The command line runs as no user and is not asked. |
See also
Generated example: package.ini [ExtensionExportSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/package.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment