Page MenuHomePhorge

Plugin to change limited user options
Closed, ResolvedPublic

Description

Create a plugin wap_client for Roundcube Kolab Plugins , that allows a user to change between two "profiles", each of which contains a predetermined set of changes to be applied to the user's LDAP entry;

  1. A "Lite" profile should result in the following LDAP attribute values:
    • nsroledn: cn=imap-user,$base_dn, cn=active-user,$root_dn
    • mailquota: 2097152
  2. A "Pro" profile should result in the following LDAP attribute values;
    • nsroledn: cn=activesync-user,$base_dn, cn=kolab-user,$base_dn`, cn=active-user,$root_dn
    • mailquota: 10485760

Details

Ticket Type
Task

Event Timeline

Only account type switch, shouldn't we allow a separate quota size selection?
Where to put this, in Settings > Preferences > Server Settings?

Only account type switch, shouldn't we allow a separate quota size selection?

This is not required for this milestone.

Where to put this, in Settings > Preferences > Server Settings?

Whichever is easier and still intuitive.

Ok, I'm almost there. Last thing is to get $base_dn and $root_dn. I suppose for $root_dn we'll just add configuration option. I'm not sure how to resolve $base_dn.

Ok, I'm almost there. Last thing is to get $base_dn and $root_dn. I suppose for $root_dn we'll just add configuration option. I'm not sure how to resolve $base_dn.

I think both of these may be a statically configured value (rather than a run-time environment derivative) for the first prototype, seeing as how we speak of a very specific, corner-case, one-off use-case that may only need enhancement in the future.

Current code assumes that user has permissions to modify specified attributes.

Why is this not in a differential?

I didn't hear about such requirement. I create diffs only for things I'm not sure about.

vanmeeuwen moved this task from Review to Done on the Sprint 201612 board.