My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
+-------------------------------------------------------------------------+
|
| Author: Cor Bosman (roundcube@wa.ter.net)
| Plugin: dovecot_impersonate
| Version: 1.0
| Purpose: Impersonate another user using the dovecot master user
|
+-------------------------------------------------------------------------+

This plugin lets you impersonate another user using the dovecot master user.

WARNING: please only use for user support or similar operational issues.
I recommend you always get the user's approval.
Using this without consent may be illegal in some countries.

For more information about this feature read:

http://wiki.dovecot.org/Authentication/MasterUsers

The default separator character used is '*', but you can set a different one
using the plugin config file.

How it works:

When you login to roundcube, you have to use your master user information:

Login: user*master
Password: password_of_master

The plugin then strips the master info from the form, so all preferences are correctly
fetched for the user. (else it would try to find preferences for user*master). If you use
any other plugins that use the authenticate hook, you might want to make this plugin the
first plugin.

When roundcube authenticates with the imap server, the master user information is added
again.

Change log

r48 by cor.bosman on Aug 2, 2010   Diff
new plugin

Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1332 bytes, 36 lines
Powered by Google Project Hosting