From 8fc34a9fd5015e004615db1ebcd0bb143ec469d1 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Mon, 30 Aug 2010 14:26:40 +0000 Subject: [PATCH] #229 History data was limited (administrators could not see any attribute!) SVN:trunk[718] --- core/userrights.class.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/userrights.class.inc.php b/core/userrights.class.inc.php index 9521a2418..91c63a65a 100644 --- a/core/userrights.class.inc.php +++ b/core/userrights.class.inc.php @@ -570,6 +570,8 @@ class UserRights // When initializing, we need to let everything pass trough if (!self::CheckLogin()) return true; + if (self::IsAdministrator($oUser)) return true; + // this module is forbidden for non admins if (MetaModel::HasCategory($sClass, 'addon/userrights')) return false;