On Tue, Dec 21, 2010 at 10:50 AM, Ralf Hildebrandt <Ralf.Hildebrandt@xxxxxxxxxx> wrote: > * Paul Lesniewski <paul@xxxxxxxxxxxxxxxx>: >> On Mon, Dec 20, 2010 at 10:58 PM, Eray Aslan <eray.aslan@xxxxxxxxxx> wrote: >> > On 2010-12-20 10:58 PM, Paul Lesniewski wrote: >> >> If there is demand for such a feature, I could try to push it up >> >> higher on my TODO list.... >> > >> > It would provide a nice interface to dovecot's masterusers setting which >> > will probably be used more and more. So it would be nice to have. >> > >> > Having said that, masterusers are usually used in scripts. Why is there >> > a need for an interactive masteruser login? What is the use case here? >> >> Probably when an administrator is troubleshooting problems reported by >> some user that the administrator can't diagnose using their own >> account. > > Exactly. I played with this a little bit and it's somewhat complicated. The fact that preferences are cached in session is mostly helpful, since a small change in the Login Manager plugin can allow you to load up another user's preferences. However, in order to allow you to *save* any preferences changes you make to that user's account (and not the administrative one you're logged into), the username in session would have to be changed. But if you change that, then SquirrelMail won't be able to log you in correctly on the next page request. That is, SquirrelMail's username management makes some primitive assumptions. To implement something like this (or SASL PLAIN with differing authentication/authorization identities) is really beyond the scope of what SquirrelMail 1.4.x was designed for. So, I could implement and share some kind of preferences loading override in Login Manager, but it's not a perfect solution, since administrative logins like yours will always result in the creation of a preferences files that matches the exact and full administrative username you have used, and any preferences changes you make thereafter will be saved to that preferences store. That could be enough to help you guide the user to fix their own settings, or, if you use Vadmin, it could allow you to edit their preferences yourself (did I mention Vadmin allows you to BOTH view AND edit any user's preferences?). Cheers, Paul -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users