Blame policy/modules/roles/dbadm.if
|
Chris PeBenito |
22a287 |
## <summary>Database administrator role</summary>
|
|
Chris PeBenito |
22a287 |
|
|
Chris PeBenito |
22a287 |
########################################
|
|
Chris PeBenito |
22a287 |
## <summary>
|
|
Chris PeBenito |
22a287 |
## Change to the database administrator role.
|
|
Chris PeBenito |
22a287 |
## </summary>
|
|
Chris PeBenito |
22a287 |
## <param name="role">
|
|
Chris PeBenito |
22a287 |
## <summary>
|
|
Chris PeBenito |
22a287 |
## Role allowed access.
|
|
Chris PeBenito |
22a287 |
## </summary>
|
|
Chris PeBenito |
22a287 |
## </param>
|
|
Chris PeBenito |
22a287 |
## <rolecap/>
|
|
Chris PeBenito |
22a287 |
#
|
|
Chris PeBenito |
22a287 |
interface(`dbadm_role_change',`
|
|
Jeremy Solt |
6a9ef9 |
gen_require(`
|
|
Jeremy Solt |
6a9ef9 |
role dbadm_r;
|
|
Chris PeBenito |
22a287 |
')
|
|
Chris PeBenito |
22a287 |
|
|
Chris PeBenito |
22a287 |
allow $1 dbadm_r;
|
|
Chris PeBenito |
22a287 |
')
|
|
Chris PeBenito |
22a287 |
|
|
Chris PeBenito |
22a287 |
########################################
|
|
Chris PeBenito |
22a287 |
## <summary>
|
|
Chris PeBenito |
22a287 |
## Change from the database administrator role.
|
|
Chris PeBenito |
22a287 |
## </summary>
|
|
Chris PeBenito |
22a287 |
## <desc>
|
|
Chris PeBenito |
22a287 |
##
|
|
Chris PeBenito |
22a287 |
## Change from the web administrator role to
|
|
Chris PeBenito |
22a287 |
## the specified role.
|
|
Chris PeBenito |
22a287 |
##
|
|
Chris PeBenito |
22a287 |
##
|
|
Chris PeBenito |
22a287 |
## This is an interface to support third party modules
|
|
Chris PeBenito |
22a287 |
## and its use is not allowed in upstream reference
|
|
Chris PeBenito |
22a287 |
## policy.
|
|
Chris PeBenito |
22a287 |
##
|
|
Chris PeBenito |
22a287 |
## </desc>
|
|
Chris PeBenito |
22a287 |
## <param name="role">
|
|
Chris PeBenito |
22a287 |
## <summary>
|
|
Chris PeBenito |
22a287 |
## Role allowed access.
|
|
Chris PeBenito |
22a287 |
## </summary>
|
|
Chris PeBenito |
22a287 |
## </param>
|
|
Chris PeBenito |
22a287 |
## <rolecap/>
|
|
Chris PeBenito |
22a287 |
#
|
|
Chris PeBenito |
22a287 |
interface(`dbadm_role_change_to',`
|
|
Chris PeBenito |
22a287 |
gen_require(`
|
|
Chris PeBenito |
22a287 |
role dbadm_r;
|
|
Chris PeBenito |
22a287 |
')
|
|
Chris PeBenito |
22a287 |
|
|
Chris PeBenito |
22a287 |
allow dbadm_r $1;
|
|
Chris PeBenito |
22a287 |
')
|