Lines Matching refs:update
97 struct acl_rights_update update;
99 i_zero(&update);
100 update.modify_mode = ACL_MODIFY_MODE_REPLACE;
101 update.neg_modify_mode = ACL_MODIFY_MODE_REPLACE;
106 while (acl_object_list_next(iter, &update.rights)) {
108 if (!update.rights.global)
109 (void)acl_object_update(abox->aclobj, &update);
117 acl_mailbox_create(struct mailbox *box, const struct mailbox_update *update,
149 ret = abox->module_ctx.super.create_box(box, update, directory);
157 acl_mailbox_update(struct mailbox *box, const struct mailbox_update *update)
165 return abox->module_ctx.super.update_box(box, update);
615 const struct acl_rights_update *update)
620 if (update->modify_mode != ACL_MODIFY_MODE_CLEAR &&
621 update->neg_modify_mode != ACL_MODIFY_MODE_CLEAR)
623 if (update->modify_mode == ACL_MODIFY_MODE_CLEAR &&
624 update->neg_modify_mode == ACL_MODIFY_MODE_CLEAR)
630 if (rights.id_type == update->rights.id_type &&
631 null_strcmp(rights.identifier, update->rights.identifier) == 0)
638 const struct acl_rights_update *update)
642 time_t ts = update->last_change != 0 ?
643 update->last_change : ioloop_time;
646 acl_rights_get_id(&update->rights));
648 if (acl_object_update(aclobj, update) < 0) {
655 if (acl_mailbox_update_removed_id(aclobj, update))