Chris PeBenito e9c6cda
## <summary>Generic unprivileged user role</summary>
Chris PeBenito e9c6cda
Chris PeBenito e9c6cda
########################################
Chris PeBenito e9c6cda
## <summary>
Chris PeBenito e9c6cda
##	Change to the generic user role.
Chris PeBenito e9c6cda
## </summary>
Chris PeBenito 296273a
## <param name="role">
Chris PeBenito e9c6cda
##	<summary>
Chris PeBenito 296273a
##	Role allowed access.
Chris PeBenito e9c6cda
##	</summary>
Chris PeBenito e9c6cda
## </param>
Chris PeBenito e9c6cda
## <rolecap/>
Chris PeBenito e9c6cda
#
Chris PeBenito 296273a
interface(`unprivuser_role_change',`
Chris PeBenito 296273a
	gen_require(`
Chris PeBenito 296273a
		role user_r;
Chris PeBenito 296273a
	')
Chris PeBenito 296273a
Chris PeBenito 296273a
	allow $1 user_r;
Chris PeBenito e9c6cda
')
Chris PeBenito e9c6cda
Chris PeBenito e9c6cda
########################################
Chris PeBenito e9c6cda
## <summary>
Chris PeBenito e9c6cda
##	Change from the generic user role.
Chris PeBenito e9c6cda
## </summary>
Chris PeBenito e9c6cda
## <desc>
Chris PeBenito e9c6cda
##	

Chris PeBenito e9c6cda
##	Change from the generic user role to
Chris PeBenito e9c6cda
##	the specified role.
Chris PeBenito e9c6cda
##	

Chris PeBenito e9c6cda
##	

Chris PeBenito 296273a
##	This is an interface to support third party modules
Chris PeBenito e9c6cda
##	and its use is not allowed in upstream reference
Chris PeBenito e9c6cda
##	policy.
Chris PeBenito e9c6cda
##	

Chris PeBenito e9c6cda
## </desc>
Chris PeBenito 296273a
## <param name="role">
Chris PeBenito e9c6cda
##	<summary>
Chris PeBenito 296273a
##	Role allowed access.
Chris PeBenito e9c6cda
##	</summary>
Chris PeBenito e9c6cda
## </param>
Chris PeBenito e9c6cda
## <rolecap/>
Chris PeBenito e9c6cda
#
Chris PeBenito 296273a
interface(`unprivuser_role_change_to',`
Chris PeBenito e9c6cda
	gen_require(`
Chris PeBenito 296273a
		role user_r;
Chris PeBenito e9c6cda
	')
Chris PeBenito e9c6cda
Chris PeBenito 296273a
	allow user_r $1;
Chris PeBenito e9c6cda
')