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

membermanagement.ini [MemberGuardSettings]

The settings of [MemberGuardSettings] in membermanagement.ini: Guard, GuardedClasses, GuardedFunctions, SettingRequiresEdit

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/membermanagement/MemberGuardSettings.md

On this page

membermanagement.ini [MemberGuardSettings]

The block [MemberGuardSettings] of settings/membermanagement.ini, with 4 setting(s).

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

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

Guard

The access check: an account (an object of a class with a user account attribute, or of a class in GuardedClasses)
that has a location below a protected group may be edited, moved, removed, hidden or have its locations changed
only by someone who may do that at that location, not merely at another location of the same account (a policy
limited to Members otherwise reaches an administrator who also has a location below Members).
enabled | disabled

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/membermanagement.ini.append.php
[MemberGuardSettings]
Guard=enabled
*/ ?>

GuardedClasses

Classes guarded besides those with a user account attribute (identifiers).

Default: a list of 1: user_group.

<?php /* #?ini charset="utf-8"?
# settings/override/membermanagement.ini.append.php
[MemberGuardSettings]
# an empty "GuardedClasses[]" first replaces the shipped list; without it the items are added
GuardedClasses[]
GuardedClasses[]=user_group
*/ ?>

GuardedFunctions

The functions guarded.

Default: a list of 7: edit, move, remove, manage_locations, hide, translate, versionremove.

<?php /* #?ini charset="utf-8"?
# settings/override/membermanagement.ini.append.php
[MemberGuardSettings]
# an empty "GuardedFunctions[]" first replaces the shipped list; without it the items are added
GuardedFunctions[]
GuardedFunctions[]=edit
GuardedFunctions[]=move
GuardedFunctions[]=remove
GuardedFunctions[]=manage_locations
GuardedFunctions[]=hide
GuardedFunctions[]=translate
GuardedFunctions[]=versionremove
*/ ?>

SettingRequiresEdit

user/setting (enable, disable, the number of concurrent logins) also asks for content/edit of the account, so that
user/preferences alone does not reach every account of the installation. enabled | disabled

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/membermanagement.ini.append.php
[MemberGuardSettings]
SettingRequiresEdit=enabled
*/ ?>

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