Blame policy/modules/roles/guest.if
|
Chris PeBenito |
42d567 |
## <summary>Least privledge terminal user role</summary>
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
########################################
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
42d567 |
## Change to the guest role.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## <param name="role">
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
42d567 |
## Role allowed access.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## </param>
|
|
Chris PeBenito |
42d567 |
## <rolecap/>
|
|
Chris PeBenito |
42d567 |
#
|
|
Chris PeBenito |
42d567 |
interface(`guest_role_change',`
|
|
Chris PeBenito |
42d567 |
gen_require(`
|
|
Chris PeBenito |
42d567 |
role guest_r;
|
|
Chris PeBenito |
42d567 |
')
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
allow $1 guest_r;
|
|
Chris PeBenito |
42d567 |
')
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
########################################
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
42d567 |
## Change from the guest role.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## <desc>
|
|
Chris PeBenito |
42d567 |
##
|
|
Chris PeBenito |
42d567 |
## Change from the guest role to
|
|
Chris PeBenito |
42d567 |
## the specified role.
|
|
Chris PeBenito |
42d567 |
##
|
|
Chris PeBenito |
42d567 |
##
|
|
Chris PeBenito |
42d567 |
## This is an interface to support third party modules
|
|
Chris PeBenito |
42d567 |
## and its use is not allowed in upstream reference
|
|
Chris PeBenito |
42d567 |
## policy.
|
|
Chris PeBenito |
42d567 |
##
|
|
Chris PeBenito |
42d567 |
## </desc>
|
|
Chris PeBenito |
42d567 |
## <param name="role">
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
42d567 |
## Role allowed access.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## </param>
|
|
Chris PeBenito |
42d567 |
## <rolecap/>
|
|
Chris PeBenito |
42d567 |
#
|
|
Chris PeBenito |
42d567 |
interface(`guest_role_change_to',`
|
|
Chris PeBenito |
42d567 |
gen_require(`
|
|
Chris PeBenito |
42d567 |
role guest_r;
|
|
Chris PeBenito |
42d567 |
')
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
allow guest_r $1;
|
|
Chris PeBenito |
42d567 |
')
|