diff options
author | diosmosis <benaka@piwik.pro> | 2014-09-10 13:33:37 +0400 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-09-10 13:33:37 +0400 |
commit | e79784e0f1274fa76c395e9a84357f7ca3dd6ad6 (patch) | |
tree | 756edc0b30fbcd8b8c42f151f1fb418ac6f52507 /config | |
parent | ef61529d414af219e64e42a0578b8df1222d8c5d (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.php | 5 |
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 |