Blame policy/modules/roles/xguest.if
|
Chris PeBenito |
42d567 |
## <summary>Least privledge xwindows user role</summary>
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
########################################
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
42d567 |
## Change to the xguest role.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## <param name="role">
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
3f67f7 |
## Role allowed access.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## </param>
|
|
Chris PeBenito |
42d567 |
## <rolecap/>
|
|
Chris PeBenito |
42d567 |
#
|
|
Chris PeBenito |
42d567 |
interface(`xguest_role_change',`
|
|
Chris PeBenito |
42d567 |
gen_require(`
|
|
Chris PeBenito |
42d567 |
role xguest_r;
|
|
Chris PeBenito |
42d567 |
')
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
allow $1 xguest_r;
|
|
Chris PeBenito |
42d567 |
')
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
########################################
|
|
Chris PeBenito |
42d567 |
## <summary>
|
|
Chris PeBenito |
42d567 |
## Change from the xguest role.
|
|
Chris PeBenito |
42d567 |
## </summary>
|
|
Chris PeBenito |
42d567 |
## <desc>
|
|
Chris PeBenito |
42d567 |
##
|
|
Chris PeBenito |
42d567 |
## Change from the xguest 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(`xguest_role_change_to',`
|
|
Chris PeBenito |
42d567 |
gen_require(`
|
|
Chris PeBenito |
42d567 |
role xguest_r;
|
|
Chris PeBenito |
42d567 |
')
|
|
Chris PeBenito |
42d567 |
|
|
Chris PeBenito |
42d567 |
allow xguest_r $1;
|
|
Chris PeBenito |
42d567 |
')
|