[dev] Horde :: Users and Groups selection (select vs textfield)

Joel Vandal jvandal at infoteck.qc.ca
Wed Feb 4 16:56:42 PST 2004


Normally, with Shares, Perms and Groups, you select the user and group from a <select> if the Auth drivers have list capability but on some setup this can be very long to load (ex. 30k users, 1000 groups) and I dont want to allow my user to view all users in the server so with this patch, you can choose between the standard <select> or a simple <input> text.

Also, if you add a group from an <input> text field,  they get the GroupId from the name.

Apply this patch and add these 2 lines in horde/conf/conf.php

$conf['list_user'] = false;
$conf['list_group'] = false;

-- 
Joel Vandal                                    Infoteck Internet
http://www.infoteck.qc.ca            Tel.  819-370-3232
jvandal at infoteck.qc.ca                 Fax. 819-370-3624
-------------- next part --------------
A non-text attachment was scrubbed...
Name: horde.diff
Type: application/octet-stream
Size: 4482 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040204/11db22f2/horde.obj


More information about the dev mailing list