Quoting Elliot Anders <[EMAIL PROTECTED]>:

Mike,
thanks for the insight.
On Jul 14, 2008, at 9:55 AM, Michael Rubinsky wrote:

Quoting Elliot Anders <[EMAIL PROTECTED]>:

In partial answer to my own question, it seems you cannot autocomplete from a localsql address book if you lock your search sources. Does this sound correct? Sounds like a bug to me.

Is this a localsql source with shares enabled? Then yes, you would not be able to, as the identifier for the specific addressbook/share would need to be
present in the pref....if it's locked, it cannot be added by the user.

Attempting to follow this line of thought (which makes sense to me) I disabled use_shares on the localsql source in Turba sources.php, then locked both $_prefs['search_sources'] and $_prefs['search_fields'], sadly this had the effect of hiding the localsql source altogether.

Well, if you turn off sharing for a source that had previously been enabled for it, then all the address books that are contained in that source *would* be gone, since those address books are represented by shares. Each user *might* still have his/her "default" address book available (don't remember off hand if this would be the case or not), but you would more than likely have to make sure that the address book is added to the user's address book pref, since it's represented internally with a different identifier when not using shares.

I've actually now been able to get the autocomplete working, for both ldap and sql, by setting the settings via Imp's Options pages, but I haven't figured out how to make it a site-wide setting.

This has the same limitation regarding shares as the turba prefs do.

Thanks,
mike

--
The Horde Project (www.horde.org)
[EMAIL PROTECTED]

"Time just hates me. That's why it made me an adult." - Josh Joplin

Attachment: pgp0pqwL8ObuH.pgp
Description: PGP Digital Signature

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to