commit:     f846de6171a14ec10605f90388c102cb5fe088ae
Author:     Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Tue Dec  2 08:15:17 2014 +0000
Commit:     Jason Zaman <gentoo <AT> perfinion <DOT> com>
CommitDate: Tue Dec  2 13:53:36 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f846de61

Unify staff and user roles

user_r had a few things added which were not in staff_r. This adds them
to staff too so they are the same (apart from allowing staff to change
roles).

---
 policy/modules/roles/staff.te | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
index 14706de..1d4b3e0 100644
--- a/policy/modules/roles/staff.te
+++ b/policy/modules/roles/staff.te
@@ -192,6 +192,10 @@ ifdef(`distro_gentoo',`
        ')
 
        optional_policy(`
+               dropbox_role(staff_r, staff_t)
+       ')
+
+       optional_policy(`
                googletalk_run_plugin(staff_t, staff_r)
        ')
 
@@ -200,6 +204,10 @@ ifdef(`distro_gentoo',`
        ')
 
        optional_policy(`
+               hadoop_role(staff_r, staff_t)
+       ')
+
+       optional_policy(`
                links_role(staff_r, staff_t)
        ')
 
@@ -216,6 +224,10 @@ ifdef(`distro_gentoo',`
        ')
 
        optional_policy(`
+               rtorrent_role(staff_r, staff_t)
+       ')
+
+       optional_policy(`
                skype_role(staff_r, staff_t)
        ')
 ')

Reply via email to