Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2014-09-10 13:33:37 +0400
committerdiosmosis <benaka@piwik.pro>2014-09-10 13:33:37 +0400
commite79784e0f1274fa76c395e9a84357f7ca3dd6ad6 (patch)
tree756edc0b30fbcd8b8c42f151f1fb418ac6f52507 /config
parentef61529d414af219e64e42a0578b8df1222d8c5d (diff)
Fixes #5923, add INI config option allow_adding_segments_for_all_websites that allows users to disable the ability to add segments affecting all websites.
Diffstat (limited to 'config')
-rw-r--r--config/global.ini.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index ff987583d2..d72d5e6150 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -177,6 +177,11 @@ enable_segment_suggested_values = 1
; Possible values are "view", "admin", "superuser"
adding_segment_requires_access = "view"
+; Whether it is allowed for users to add segments that affect all websites or not. If there are many websites
+; this admin option can be used to prevent users from performing an action that will have a major impact
+; on Piwik performance.
+allow_adding_segments_for_all_websites = 1
+
; this action name is used when the URL ends with a slash /
; it is useful to have an actual string to write in the UI
action_default_name = index