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 99c902
	allow $1 calamaris_www_t:dir r_dir_perms;
Chris PeBenito 99c902
	allow $1 calamaris_www_t:file r_file_perms;
Chris PeBenito 99c902
	allow $1 calamaris_www_t:lnk_file { getattr read };
Chris PeBenito 99c902
')