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

package.ini [ExtensionExportSettings]

The settings of [ExtensionExportSettings] in package.ini: AllowedExtensions, RequirePolicy

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/package/ExtensionExportSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/package.ini.append.php for one siteaccess,
  • extension/<extension>/settings/package.ini.append.php in 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.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[]=*

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/package.ini.append.php
[ExtensionExportSettings]
RequirePolicy=enabled
*/ ?>

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.

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