22 lines
473 B
Plaintext
22 lines
473 B
Plaintext
## <summary>Squid log analysis</summary>
|
|
|
|
#######################################
|
|
## <summary>
|
|
## Allow domain to read calamaris www files.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`calamaris_read_www_files',`
|
|
gen_require(`
|
|
type calamaris_www_t;
|
|
')
|
|
|
|
allow $1 calamaris_www_t:dir r_dir_perms;
|
|
allow $1 calamaris_www_t:file r_file_perms;
|
|
allow $1 calamaris_www_t:lnk_file { getattr read };
|
|
')
|