- Enhancement (Trac#189) first version of a (simple) End-Users portal.

- Fix for the appUserPreferences class

SVN:trunk[806]
This commit is contained in:
Denis Flaven
2010-09-10 10:10:57 +00:00
parent 7312d977f3
commit 463e7b5413
11 changed files with 79 additions and 7 deletions

View File

@@ -529,6 +529,8 @@ class UserRights
if (!self::CheckLogin()) return true;
if (self::IsAdministrator()) return true;
// Portal users actions are limited by the portal page...
if (self::IsPortalUser()) return true;
// this module is forbidden for non admins.... BUT I NEED IT HERE TO DETERMINE USER RIGHTS
if (MetaModel::HasCategory($sClass, 'addon/userrights')) return true;