acl-storage.c revision 1d2b188f0eedc3cab6e27ceac5425a037f38042e
/* Copyright (c) 2006-2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "istream.h"
#include "mail-namespace.h"
#include "mailbox-list-private.h"
#include "acl-api-private.h"
#include "acl-lookup-dict.h"
#include "acl-plugin.h"
#include <stdlib.h>
struct acl_storage_module acl_storage_module =
struct acl_user_module acl_user_module =
static int
{
int ret;
ret = 1;
else T_BEGIN {
NULL);
} T_END;
if (ret <= 0) {
if (ret == 0) {
/* Note that if the mailbox didn't have LOOKUP
permission, this not reveals to user the mailbox's
existence. Can't help it. */
} else {
}
return -1;
}
}
{
union mail_storage_module_context *astorage;
/* ACLs disabled for this user */
} else {
union mail_storage_module_context, 1);
}
}
{
}
{
}
}
{
const char *env;
else {
if (user->mail_debug)
i_info("acl: No acl setting - ACLs are disabled");
}
if (acl_next_hook_mail_user_created != NULL)
}