steffen: server/kolab-webadmin/kolab-webadmin/php/admin/include attributeaccess.php, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Wed Feb 23 23:18:01 CET 2005


Author: steffen

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/include
In directory doto:/tmp/cvs-serv28778/kolab-webadmin/php/admin/include

Added Files:
	attributeaccess.php 
Log Message:
configurable access to attributes in account object

--- NEW FILE: attributeaccess.php ---
<?php
/*
 * 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)
 *
 * 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' => 'ro',
			 'kolabdelegate'  => 'ro',
			 'telephoneNumber' => 'hidden'
			 */
);
?>




More information about the commits mailing list