Browse Source

Allowed were missing on LDAP/External user logins

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@699 a333f486-631f-4898-b8df-5754b55c2be0
romainq 15 years ago
parent
commit
554aee9714

+ 1 - 1
modules/authent-external/model.authent-external.php

@@ -50,7 +50,7 @@ class UserExternal extends User
 		MetaModel::Init_InheritAttributes();
 		MetaModel::Init_InheritAttributes();
 
 
 		// Display lists
 		// Display lists
-		MetaModel::Init_SetZListItems('details', array('contactid', 'first_name', 'email', 'login', 'language', 'profile_list')); // Attributes to be displayed for the complete details
+		MetaModel::Init_SetZListItems('details', array('contactid', 'first_name', 'email', 'login', 'language', 'profile_list', 'allowed_org_list')); // Attributes to be displayed for the complete details
 		MetaModel::Init_SetZListItems('list', array('first_name', 'last_name', 'login')); // Attributes to be displayed for a list
 		MetaModel::Init_SetZListItems('list', array('first_name', 'last_name', 'login')); // Attributes to be displayed for a list
 		// Search criteria
 		// Search criteria
 		MetaModel::Init_SetZListItems('standard_search', array('login', 'contactid')); // Criteria of the std search form
 		MetaModel::Init_SetZListItems('standard_search', array('login', 'contactid')); // Criteria of the std search form

+ 1 - 1
modules/authent-ldap/model.authent-ldap.php

@@ -45,7 +45,7 @@ class UserLDAP extends UserInternal
 		MetaModel::Init_InheritAttributes();
 		MetaModel::Init_InheritAttributes();
 
 
 		// Display lists
 		// Display lists
-		MetaModel::Init_SetZListItems('details', array('contactid', 'first_name', 'email', 'login', 'language', 'profile_list')); // Attributes to be displayed for the complete details
+		MetaModel::Init_SetZListItems('details', array('contactid', 'first_name', 'email', 'login', 'language', 'profile_list', 'allowed_org_list')); // Attributes to be displayed for the complete details
 		MetaModel::Init_SetZListItems('list', array('first_name', 'last_name', 'login')); // Attributes to be displayed for a list
 		MetaModel::Init_SetZListItems('list', array('first_name', 'last_name', 'login')); // Attributes to be displayed for a list
 		// Search criteria
 		// Search criteria
 		MetaModel::Init_SetZListItems('standard_search', array('login', 'contactid')); // Criteria of the std search form
 		MetaModel::Init_SetZListItems('standard_search', array('login', 'contactid')); // Criteria of the std search form