Hi guys,
I just made a patch for this purpose.
The patch :
- disables creation of new identities
- disables deletion of existing identities (useful when you can't create a new one)
- hides the "E-Mail" field in the identity tab (prevents the user to change it)
- hides the "Set default" field in the identity tab (useless when only one identity exists)
The patch is made for Roundcube RC2.
Please note that I also tried to delete all corresponding PHP and Javascript functions, to prevent a malicious user to modify his identity by building up HTTP requests by hand.
Whereas it did not receive extensive testing, it seems to work flawlessly.
Here's the url :
http://www.syskall.net/~tapi/identity-locking.patchI strongly advise to save your roundcube folder before applying the patch.
However, if you dare trying it, any comment is welcome
EDIT: I just noticed that patching doesn't delete files that should be deleted, although the patch mentions that deletion. These files are :
- program/steps/settings/delete_identity.inc
- skins/default/templates: addidentity.html
Have fun
Tapi