selinux-policy/policy/modules/roles/webadm.if
2009-04-07 14:09:43 +00:00

51 lines
897 B
Plaintext

## <summary>Web administrator role</summary>
########################################
## <summary>
## Change to the web administrator role.
## </summary>
## <param name="role">
## <summary>
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`webadm_role_change',`
gen_require(`
role webadm_r;
')
allow $1 webadm_r;
')
########################################
## <summary>
## Change from the web administrator role.
## </summary>
## <desc>
## <p>
## Change from the web administrator role to
## the specified role.
## </p>
## <p>
## This is an interface to support third party modules
## and its use is not allowed in upstream reference
## policy.
## </p>
## </desc>
## <param name="role">
## <summary>
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`webadm_role_change_to',`
gen_require(`
role webadm_r;
')
allow webadm_r $1;
')