selinux-policy/policy/modules/roles/staff.if

51 lines
871 B
Plaintext
Raw Normal View History

## <summary>Administrator's unprivileged user role</summary>
########################################
## <summary>
## Change to the staff role.
## </summary>
2008-11-05 16:10:46 +00:00
## <param name="role">
## <summary>
2008-11-05 16:10:46 +00:00
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
2008-11-05 16:10:46 +00:00
interface(`staff_role_change',`
gen_require(`
role staff_r;
')
allow $1 staff_r;
')
########################################
## <summary>
## Change from the staff role.
## </summary>
## <desc>
## <p>
## Change from the staff role to
## the specified role.
## </p>
## <p>
2008-11-05 16:10:46 +00:00
## This is an interface to support third party modules
## and its use is not allowed in upstream reference
## policy.
## </p>
## </desc>
2008-11-05 16:10:46 +00:00
## <param name="role">
## <summary>
2008-11-05 16:10:46 +00:00
## Role allowed access.
## </summary>
## </param>
## <rolecap/>
#
2008-11-05 16:10:46 +00:00
interface(`staff_role_change_to',`
gen_require(`
2008-11-05 16:10:46 +00:00
role staff_r;
')
2008-11-05 16:10:46 +00:00
allow staff_r $1;
')