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
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-11-30 06:00:02 +0300
committermattab <matthieu.aubry@gmail.com>2016-01-22 11:12:59 +0300
commita38c0c3012af0259a3a0036f17a821b693d12886 (patch)
treec4ef7483e2c9bc9a1b4e58fd69cfb9b82f612417 /plugins/CoreHome/CoreHome.php
parentd7211cd8c622257f7acaefd7d56367325e6c480e (diff)
Fixes #6766 Let Super User view and edit segments created by other users
As a Super User: * I can now see all segments that were created for this website by any other user * When a segment was created by another user who is not Super User, the segment appears below a new section "Visible to you because you have Super User access:" * Such segments are editable by the Super User * The only difference when editing someone else's segment, as a Super User, is that "This segment is visible to [ME]" now says "This segment is visible to [SEGMENT_AUTHOR_USERNAME]" * One can now search in the search bar for a username and see all segments created by this user For all users: * New section "Shared with you:" now lists segments created by a Super User, and marked as "Visible to [All Users]" * Before segments shared with me, looked the same as segments I created, which was confusing
Diffstat (limited to 'plugins/CoreHome/CoreHome.php')
-rw-r--r--plugins/CoreHome/CoreHome.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CoreHome/CoreHome.php b/plugins/CoreHome/CoreHome.php
index ba0f3edd82..52cfa2de5d 100644
--- a/plugins/CoreHome/CoreHome.php
+++ b/plugins/CoreHome/CoreHome.php
@@ -278,5 +278,6 @@ class CoreHome extends \Piwik\Plugin
$translationKeys[] = 'CoreHome_MenuEntries';
$translationKeys[] = 'SitesManager_Sites';
$translationKeys[] = 'CoreHome_ChangeCurrentWebsite';
+ $translationKeys[] = 'General_CreatedByUser';
}
}