steffen: server/kolabd/kolabd/templates session_vars.php.template, 1.1.1.1, 1.2
cvs at intevation.de
cvs at intevation.de
Fri Mar 18 09:57:30 CET 2005
Author: steffen
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv26190/kolabd/templates
Modified Files:
session_vars.php.template
Log Message:
Issue685 (webgui config)
Index: session_vars.php.template
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/session_vars.php.template,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- session_vars.php.template 23 Nov 2004 20:26:48 -0000 1.1.1.1
+++ session_vars.php.template 18 Mar 2005 08:57:28 -0000 1.2
@@ -13,4 +13,36 @@
$_SESSION['base_dn'] = "@@@base_dn@@@";
$_SESSION['php_dn'] = "@@@php_dn@@@";
$_SESSION['php_pw'] = "@@@php_pw@@@";
+
+/*
+ * Array to configure visibility/access of LDAP attributes to user's account object
+ *
+ * Possible values for attribute is
+ *
+ * 'ro' (readonly)
+ * 'rw' (read/write)
+ * 'hidden' (atribute removed from display)
+ * 'mandatory' (read/write and must not be empty)
+ *
+ * If an attribute is not in this array, it defaults to 'rw'
+ *
+ * Note, attributes correspond to form attribute names and not LDAP attribute names.
+ *
+ * TODO(steffen): Make form and LDAP attributes the same.
+ */
+
+$attributeaccess = array(
+ /*
+ // Examples
+ 'firstname' => 'ro',
+ 'lastname' => 'ro',
+ 'password' => 'rw',
+ 'mail' => 'ro',
+ 'uid' => 'ro',
+ 'title' => 'ro',
+ 'roomNumber' => 'mandatory',
+ 'kolabdelegate' => 'ro',
+ 'telephoneNumber' => 'hidden'
+ */
+);
?>
More information about the commits
mailing list