diff --git a/changelog/unreleased/enhancement-extendable-policy-mimetype-extension-mapping.md b/changelog/unreleased/enhancement-extendable-policy-mimetype-extension-mapping.md index d33c4adeb..ee135140b 100644 --- a/changelog/unreleased/enhancement-extendable-policy-mimetype-extension-mapping.md +++ b/changelog/unreleased/enhancement-extendable-policy-mimetype-extension-mapping.md @@ -3,6 +3,6 @@ Enhancement: Extendable policy mimetype extension mapping The extension mimetype mappings known from rego can now be extended. To do this, ocis must be informed where the mimetype file (apache mime.types file format) is located. -`export OCIS_MACHINE_AUTH_API_KEY=$OCIS_HOME/mime.types` +`export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types` https://github.com/owncloud/ocis/pull/6869 diff --git a/services/policies/README.md b/services/policies/README.md index 067c3312a..93414a33a 100644 --- a/services/policies/README.md +++ b/services/policies/README.md @@ -131,7 +131,7 @@ Note that existing mappings from the host are extended by the definitions from t The path to that file can be provided via a yaml configuration or an environment variable. Note to replace the `OCIS_CONFIG_DIR` string by an existing path. ```shell -export OCIS_MACHINE_AUTH_API_KEY=OCIS_CONFIG_DIR/mime.types +export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types ``` ```yaml