Chris PeBenito 99c902
## <summary>Squid log analysis</summary>
Chris PeBenito 99c902
Chris PeBenito 99c902
#######################################
Chris PeBenito 99c902
## <summary>
Chris PeBenito 99c902
##	Allow domain to read calamaris www files.
Chris PeBenito 99c902
## </summary>
Chris PeBenito 99c902
## <param name="domain">
Chris PeBenito 99c902
##	<summary>
Chris PeBenito 99c902
##	Domain allowed access.
Chris PeBenito 99c902
##	</summary>
Chris PeBenito 99c902
## </param>
Chris PeBenito 99c902
#
Chris PeBenito 99c902
interface(`calamaris_read_www_files',`
Chris PeBenito 99c902
	gen_require(`
Chris PeBenito 99c902
		type calamaris_www_t;
Chris PeBenito 99c902
	')
Chris PeBenito 99c902
Chris PeBenito c0868a
	allow $1 calamaris_www_t:dir list_dir_perms;
Chris PeBenito c0868a
	read_files_pattern($1,calamaris_www_t,calamaris_www_t)
Chris PeBenito c0868a
	read_lnk_files_pattern($1,calamaris_www_t,calamaris_www_t)
Chris PeBenito 99c902
')