commit:     f774e2c1acf6fab64fad40f8e5234755c8bf39c3
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: Wed Dec  3 09:30:09 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f774e2c1

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