mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
- Enhancement (Trac#189) first version of a (simple) End-Users portal.
- Fix for the appUserPreferences class SVN:trunk[806]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user