61f4064286
Use list instead of search in admin interfaces. Use list instead of search in admin interfaces. Use list instead of search in admin interfaces. Use list instead of search in admin interfaces.
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
## <summary>MojoMojo Wiki</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## All of the rules required to administrate
|
|
## an mojomojo environment
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
## <param name="role">
|
|
## <summary>
|
|
## Role allowed access.
|
|
## </summary>
|
|
## </param>
|
|
## <rolecap/>
|
|
#
|
|
interface(`mojomojo_admin',`
|
|
gen_require(`
|
|
type httpd_mojomojo_script_t, httpd_mojomojo_content_t, httpd_mojomojo_ra_content_t;
|
|
type httpd_mojomojo_rw_content_t, httpd_mojomojo_tmp_t, httpd_mojomojo_htaccess_t;
|
|
type httpd_mojomojo_script_exec_t;
|
|
')
|
|
|
|
allow $1 httpd_mojomojo_script_t:process { ptrace signal_perms };
|
|
ps_process_pattern($1, httpd_mojomojo_script_t)
|
|
|
|
files_list_tmp($1)
|
|
admin_pattern($1, httpd_mojomojo_tmp_t)
|
|
|
|
files_list_var_lib(httpd_mojomojo_script_t)
|
|
|
|
apache_list_sys_content($1)
|
|
admin_pattern($1, httpd_mojomojo_script_exec_t)
|
|
admin_pattern($1, httpd_mojomojo_script_t)
|
|
admin_pattern($1, httpd_mojomojo_content_t)
|
|
admin_pattern($1, httpd_mojomojo_htaccess_t)
|
|
admin_pattern($1, httpd_mojomojo_rw_content_t)
|
|
admin_pattern($1, httpd_mojomojo_ra_content_t)
|
|
')
|