users: calls pulseaudio_role() for restricted xwindows users and staff_t/user_t

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
Dominick Grift 2013-11-09 10:45:16 +01:00 committed by Chris PeBenito
parent c7e2518162
commit 8e01054f07
3 changed files with 12 additions and 0 deletions

View File

@ -82,6 +82,10 @@ ifndef(`distro_redhat',`
optional_policy(` optional_policy(`
gnome_role_template(staff, staff_r, staff_t) gnome_role_template(staff, staff_r, staff_t)
') ')
optional_policy(`
pulseaudio_role(staff_r, staff_t)
')
') ')
optional_policy(` optional_policy(`

View File

@ -55,6 +55,10 @@ ifndef(`distro_redhat',`
optional_policy(` optional_policy(`
gnome_role_template(user, user_r, user_t) gnome_role_template(user, user_r, user_t)
') ')
optional_policy(`
pulseaudio_role(user_r, user_t)
')
') ')
optional_policy(` optional_policy(`

View File

@ -945,6 +945,10 @@ template(`userdom_restricted_xwindows_user_template',`
gnome_role_template($1, $1_r, $1_t) gnome_role_template($1, $1_r, $1_t)
wm_role_template($1, $1_r, $1_t) wm_role_template($1, $1_r, $1_t)
') ')
optional_policy(`
pulseaudio_role($1_r, $1_t)
')
') ')
optional_policy(` optional_policy(`