Blame policy/modules/roles/logadm.if
|
Chris PeBenito |
3c9b2e |
## <summary>Log administrator role</summary>
|
|
Chris PeBenito |
3c9b2e |
|
|
Chris PeBenito |
3c9b2e |
########################################
|
|
Chris PeBenito |
3c9b2e |
## <summary>
|
|
Chris PeBenito |
3c9b2e |
## Change to the log administrator role.
|
|
Chris PeBenito |
3c9b2e |
## </summary>
|
|
Chris PeBenito |
3c9b2e |
## <param name="role">
|
|
Chris PeBenito |
3c9b2e |
## <summary>
|
|
Chris PeBenito |
3f67f7 |
## Role allowed access.
|
|
Chris PeBenito |
3c9b2e |
## </summary>
|
|
Chris PeBenito |
3c9b2e |
## </param>
|
|
Chris PeBenito |
3c9b2e |
## <rolecap/>
|
|
Chris PeBenito |
3c9b2e |
#
|
|
Chris PeBenito |
3c9b2e |
interface(`logadm_role_change',`
|
|
Chris PeBenito |
3c9b2e |
gen_require(`
|
|
Chris PeBenito |
3c9b2e |
role logadm_r;
|
|
Chris PeBenito |
3c9b2e |
')
|
|
Chris PeBenito |
3c9b2e |
|
|
Chris PeBenito |
3c9b2e |
allow $1 logadm_r;
|
|
Chris PeBenito |
3c9b2e |
')
|
|
Chris PeBenito |
3c9b2e |
|
|
Chris PeBenito |
3c9b2e |
########################################
|
|
Chris PeBenito |
3c9b2e |
## <summary>
|
|
Chris PeBenito |
3c9b2e |
## Change from the log administrator role.
|
|
Chris PeBenito |
3c9b2e |
## </summary>
|
|
Chris PeBenito |
3c9b2e |
## <desc>
|
|
Chris PeBenito |
3c9b2e |
##
|
|
Chris PeBenito |
3c9b2e |
## Change from the log administrator role to
|
|
Chris PeBenito |
3c9b2e |
## the specified role.
|
|
Chris PeBenito |
3c9b2e |
##
|
|
Chris PeBenito |
3c9b2e |
##
|
|
Chris PeBenito |
3c9b2e |
## This is an interface to support third party modules
|
|
Chris PeBenito |
3c9b2e |
## and its use is not allowed in upstream reference
|
|
Chris PeBenito |
3c9b2e |
## policy.
|
|
Chris PeBenito |
3c9b2e |
##
|
|
Chris PeBenito |
3c9b2e |
## </desc>
|
|
Chris PeBenito |
3c9b2e |
## <param name="role">
|
|
Chris PeBenito |
3c9b2e |
## <summary>
|
|
Chris PeBenito |
3c9b2e |
## Role allowed access.
|
|
Chris PeBenito |
3c9b2e |
## </summary>
|
|
Chris PeBenito |
3c9b2e |
## </param>
|
|
Chris PeBenito |
3c9b2e |
## <rolecap/>
|
|
Chris PeBenito |
3c9b2e |
#
|
|
Chris PeBenito |
3c9b2e |
interface(`logadm_role_change_to',`
|
|
Chris PeBenito |
3c9b2e |
gen_require(`
|
|
Chris PeBenito |
3c9b2e |
role logadm_r;
|
|
Chris PeBenito |
3c9b2e |
')
|
|
Chris PeBenito |
3c9b2e |
|
|
Chris PeBenito |
3c9b2e |
allow logadm_r $1;
|
|
Chris PeBenito |
3c9b2e |
')
|