Add a Turba_Driver::canAdd() method for indicating the driver's ability
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 7 Oct 2009 15:51:01 +0000 (11:51 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 7 Oct 2009 15:51:01 +0000 (11:51 -0400)
commit82bb2e1d13c4b192fa4d6156e0aa1ac5597190fa
treef8c3d1885fdc3e673e537f03b466d3fe6d069911
parenta0aa64b0df7fb284a15a98af76e0c09f79dbf5c7
Add a Turba_Driver::canAdd() method for indicating the driver's ability
to add a new contact.

Needed because we don't have perms on individual contacts, just on the
contact's address book. So for sources such as a virtual address book,
we may be able to edit the contact, but we can't add new contacts to
the address book.
turba/lib/Driver.php
turba/lib/Driver/Imsp.php
turba/lib/Driver/Kolab.php
turba/lib/Driver/Ldap.php
turba/lib/Driver/Prefs.php
turba/lib/Driver/Share.php
turba/lib/Driver/Sql.php
turba/lib/Turba.php
turba/lib/base.php