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

audit.ini [AuditCompatSettings]

The settings of [AuditCompatSettings] in audit.ini: Map, UnmappedAsLegacy, LegacyFiles

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/audit/AuditCompatSettings.md

On this page

audit.ini [AuditCompatSettings]

The block [AuditCompatSettings] of settings/audit.ini, with 3 setting(s).

Never edit settings/audit.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/audit.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/audit.ini.append.php for one siteaccess,
  • extension/<extension>/settings/audit.ini.append.php in an extension (read when the extension is active).

Map

eZAudit::writeAudit( <old name> ) is recorded as the new name (Z3).
Location changes (the names LoveStack writes): an added location, a removed one, a new main one.
Portions derived from LoveStack (mugoweb/ezpublish-legacy, commit 9c931192e0), Copyright (C) Mugo Web, GPL v2

Default: a hash of 18: user-login=access.session.login, user-failed-login=access.session.login.failed, content-delete=content.node.remove.trash, content-move=content.node.move, content-hide=content.node.hide, role-change=access.role.change, role-assign=access.role.assign, section-assign=content.node.section, state-assign=content.object.state, order-delete=commerce.order.delete, location-assign=content.node.add, location-remove=content.node.remove ....

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditCompatSettings]
# an empty "Map[]" first replaces the shipped list; without it the items are added
Map[]
Map[user-login]=access.session.login
Map[user-failed-login]=access.session.login.failed
Map[content-delete]=content.node.remove.trash
Map[content-move]=content.node.move
Map[content-hide]=content.node.hide
Map[role-change]=access.role.change
Map[role-assign]=access.role.assign
Map[section-assign]=content.node.section
Map[state-assign]=content.object.state
Map[order-delete]=commerce.order.delete
Map[location-assign]=content.node.add
Map[location-remove]=content.node.remove
Map[main-node-update]=content.node.main
Map[user-password-change]=access.user.password.change
Map[user-password-change-self]=access.user.password.change
Map[user-password-change-self-fail]=access.user.password.change.failed
Map[user-forgotpassword]=access.user.password.reset
Map[user-forgotpassword-fail]=access.user.password.reset.failed
*/ ?>

UnmappedAsLegacy

Old names without a Map[] entry: recorded as system.legacy.<name>. enabled | disabled

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditCompatSettings]
UnmappedAsLegacy=enabled
*/ ?>

LegacyFiles

Also write the old text files (old format, outside the chain). enabled | disabled

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditCompatSettings]
LegacyFiles=disabled
*/ ?>

Generated by ./console exp:help:examples from settings/audit.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