Chris PeBenito ea557a
## <summary>Cyrus is an IMAP service intended to be run on sealed servers</summary>
Chris PeBenito ea557a
Chris PeBenito ea557a
########################################
Chris PeBenito ea557a
## <summary>
Chris PeBenito ea557a
##	Allow caller to create, read, write,
Chris PeBenito ea557a
##	and delete cyrus data files.
Chris PeBenito ea557a
## </summary>
Chris PeBenito ea557a
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito ea557a
##      Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito ea557a
## </param>
Chris PeBenito ea557a
#
Chris PeBenito ea557a
interface(`cyrus_manage_data',`
Chris PeBenito ea557a
	gen_require(`
Chris PeBenito ea557a
		type cyrus_var_lib_t;
Chris PeBenito ea557a
	')
Chris PeBenito ea557a
Chris PeBenito ea557a
	files_search_var_lib($1)
Chris PeBenito ea557a
	allow $1 cyrus_var_lib_t:dir rw_dir_perms;
Chris PeBenito ea557a
	allow $1 cyrus_var_lib_t:file manage_file_perms;
Chris PeBenito ea557a
')