aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/idl
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend/idl')
-rw-r--r--addressbook/backend/idl/addressbook.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/addressbook/backend/idl/addressbook.idl b/addressbook/backend/idl/addressbook.idl
index b3bcb5ea87..9a7743f974 100644
--- a/addressbook/backend/idl/addressbook.idl
+++ b/addressbook/backend/idl/addressbook.idl
@@ -44,6 +44,18 @@ module Evolution {
VCard get_vcard (in CardId id);
/*
+ * Permissions. the first form is general write
+ * permission (whether or not the user can add or
+ * remove or modify any entry in the addressbook.)
+ *
+ * if can_write returns TRUE, can_write_card can still
+ * return FALSE if the user doesn't have permission to
+ * modify/remove that specific card.
+ */
+ boolean can_write ();
+ boolean can_write_card (in CardId Id);
+
+ /*
* Adding and deleting cards in the book.
*/
void create_card (in VCard vcard);