Blame policy/modules/roles/secadm.if
|
Chris PeBenito |
e9c6cd |
## <summary>Security administrator role</summary>
|
|
Chris PeBenito |
e9c6cd |
|
|
Chris PeBenito |
e9c6cd |
########################################
|
|
Chris PeBenito |
e9c6cd |
## <summary>
|
|
Chris PeBenito |
296273 |
## Change to the security administrator role.
|
|
Chris PeBenito |
e9c6cd |
## </summary>
|
|
Chris PeBenito |
296273 |
## <param name="role">
|
|
Chris PeBenito |
e9c6cd |
## <summary>
|
|
Chris PeBenito |
296273 |
## Role allowed access.
|
|
Chris PeBenito |
e9c6cd |
## </summary>
|
|
Chris PeBenito |
e9c6cd |
## </param>
|
|
Chris PeBenito |
e9c6cd |
## <rolecap/>
|
|
Chris PeBenito |
e9c6cd |
#
|
|
Chris PeBenito |
296273 |
interface(`secadm_role_change',`
|
|
Chris PeBenito |
296273 |
gen_require(`
|
|
Chris PeBenito |
296273 |
role secadm_r;
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
allow $1 secadm_r;
|
|
Chris PeBenito |
e9c6cd |
')
|
|
Chris PeBenito |
e9c6cd |
|
|
Chris PeBenito |
e9c6cd |
########################################
|
|
Chris PeBenito |
e9c6cd |
## <summary>
|
|
Chris PeBenito |
296273 |
## Change from the security administrator role.
|
|
Chris PeBenito |
e9c6cd |
## </summary>
|
|
Chris PeBenito |
e9c6cd |
## <desc>
|
|
Chris PeBenito |
e9c6cd |
##
|
|
Chris PeBenito |
296273 |
## Change from the security administrator role to
|
|
Chris PeBenito |
e9c6cd |
## the specified role.
|
|
Chris PeBenito |
e9c6cd |
##
|
|
Chris PeBenito |
e9c6cd |
##
|
|
Chris PeBenito |
296273 |
## This is an interface to support third party modules
|
|
Chris PeBenito |
e9c6cd |
## and its use is not allowed in upstream reference
|
|
Chris PeBenito |
e9c6cd |
## policy.
|
|
Chris PeBenito |
e9c6cd |
##
|
|
Chris PeBenito |
e9c6cd |
## </desc>
|
|
Chris PeBenito |
296273 |
## <param name="role">
|
|
Chris PeBenito |
e9c6cd |
## <summary>
|
|
Chris PeBenito |
296273 |
## Role allowed access.
|
|
Chris PeBenito |
e9c6cd |
## </summary>
|
|
Chris PeBenito |
e9c6cd |
## </param>
|
|
Chris PeBenito |
e9c6cd |
## <rolecap/>
|
|
Chris PeBenito |
e9c6cd |
#
|
|
Chris PeBenito |
296273 |
interface(`secadm_role_change_to_template',`
|
|
Chris PeBenito |
296273 |
gen_require(`
|
|
Chris PeBenito |
296273 |
role secadm_r;
|
|
Chris PeBenito |
296273 |
')
|
|
Chris PeBenito |
296273 |
|
|
Chris PeBenito |
296273 |
allow secadm_r $1;
|
|
Chris PeBenito |
e9c6cd |
')
|
|
Chris PeBenito |
e9c6cd |
|