diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-05-04 15:32:15 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-05-04 15:32:15 +0400 |
commit | 56a116b46f399f4f0487ed45256d9c8c359cdebc (patch) | |
tree | 53faf4ca4e55343fec686b6aeea3b1ffe880bbeb /plugins/SitesManager | |
parent | 6669ce9c7a8e05893920b7454e8d093793081b8c (diff) |
Refs #56 regression admin users can access Websites tab
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r-- | plugins/SitesManager/API.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SitesManager/API.php b/plugins/SitesManager/API.php index 176fe19292..95f87a9527 100644 --- a/plugins/SitesManager/API.php +++ b/plugins/SitesManager/API.php @@ -454,7 +454,7 @@ class Piwik_SitesManager_API */ public function getExcludedQueryParametersGlobal() { - Piwik::checkUserIsSuperUser(); + Piwik::checkUserHasSomeAdminAccess(); return Piwik_GetOption(self::OPTION_EXCLUDED_QUERY_PARAMETERS_GLOBAL); } @@ -481,7 +481,7 @@ class Piwik_SitesManager_API */ public function getExcludedIpsGlobal() { - Piwik::checkUserIsSuperUser(); + Piwik::checkUserHasSomeAdminAccess(); return Piwik_GetOption(self::OPTION_EXCLUDED_IPS_GLOBAL); } @@ -492,7 +492,7 @@ class Piwik_SitesManager_API */ public function getDefaultCurrency() { - Piwik::checkUserIsSuperUser(); + Piwik::checkUserHasSomeAdminAccess(); $defaultCurrency = Piwik_GetOption(self::OPTION_DEFAULT_CURRENCY); if($defaultCurrency) { |