commit 5f7af03cb08f90c1506ea221bdea1c23919ea750
parent f69a1fc843621214ccbac7cbda03de37b183c6ed
Author: dankert <devnull@localhost>
Date: Thu, 19 Mar 2009 05:30:15 +0100
Hinweismeldung, wenn bei LDAP-Login die Gruppenzugehörigkeiten überschrieben werden können.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/actionClasses/UserAction.class.php b/actionClasses/UserAction.class.php
@@ -261,6 +261,10 @@ class UserAction extends Action
$this->setTemplateVar($varName,$hasGroup);
}
$this->setTemplateVar('memberships',$gruppenListe);
+
+ global $conf;
+ if ($conf['security']['authorize']['type']=='ldap')
+ $this->addNotice('user',$this->user->name,'GROUPS_MAY_CONFLICT_WITH_LDAP',OR_NOTICE_WARN);
}