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