package.ini [ExtensionExportSettings]
The block [ExtensionExportSettings] of settings/package.ini, with 2 setting(s).
Never edit settings/package.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/package.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/package.ini.append.phpfor one siteaccess,extension/<extension>/settings/package.ini.append.phpin an extension (read when the extension is active).
AllowedExtensions
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.mdACTION 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[]=*
Default: an empty list.
# settings/override/package.ini.append.php
[ExtensionExportSettings]
# an empty "AllowedExtensions[]" first replaces the shipped list; without it the items are added
AllowedExtensions[]
*/ ?>RequirePolicy
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.
Default: enabled.
# settings/override/package.ini.append.php
[ExtensionExportSettings]
RequirePolicy=enabled
*/ ?>Related
Generated by ./console exp:help:examples from settings/package.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.