[#6734] Name lookup for other users' folders
Summary Name lookup for other users' folders
Queue IMP
Queue Version HEAD
Type Enhancement
State Accepted
Priority 1. Low
Owners
Requester Tim (dot) Bannister (at) manchester (dot) ac (dot) uk
Created 05/21/2008 (99 days ago)
Due
Updated 05/22/2008 (98 days ago)
Assigned
Resolved
Attachments
Milestone
Patch No

History
05/22/2008 Jan Schneider Comment #5
State ⇒ Accepted
Reply to this comment
A hook is the way to go IMO.
05/22/2008 Tim (dot) Bannister (at) manchester (dot) ac (dot) uk Comment #4 Reply to this comment
At most this should be a hook.
Sure, I can't arue with that.
05/22/2008 Tim (dot) Bannister (at) manchester (dot) ac (dot) uk Comment #3 Reply to this comment
I'd use the existing Accounts_Driver code (as seen in 
horde/lib/Block/account.php).

On the system I'm configuring we use LDAP for account lookups. On a 
different system you might need to configure a different driver or 
another attribute to search on (for example, "mail" rather than "uid", 
if the folder names are based on email addresses). I'd be happy 
handling just the common case to look up on UID.
05/21/2008 Chuck Hagenbuch Comment #2 Reply to this comment
At most this should be a hook. Doing this in a cross-server way is 
basically impossible. Presumably you have Horde configured to look up 
names via posix_* functions or something? Or do you mean using a 
user's identity? The mailbox name isn't necessarily tied to the Horde 
username either.

05/21/2008 Tim (dot) Bannister (at) manchester (dot) ac (dot) uk Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Name lookup for other users' folders
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Reply to this comment
IMP / DIMP sees and presents folders in the namespace for other user's 
folders. IMP shows the folders under the heading "Other Users' Folders".

On many systems the folder names are based on the owners' UIDs. For 
example, a user John Smith might have a folder shown as "smithj42" 
inside "Other Users' Folders".
Horde is already able to look up displayNames from UIDs. To enhance 
IMP, implement the same facility for "Other Users' Folders"