Skip to contentSkip to conversation

Access for confined users to oidentd user home content is unconditional.

PATCH New Dominick Grift 2 participants 2 messages Sep 10, 2010 – Sep 15, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Access for confined users to oidentd user home content is unconditional.

---
:100644 100644 0c9876c... 3fed14e... M policy/modules/roles/staff.te
:100644 100644 e8a507d... 93b9f7f... M policy/modules/roles/unprivuser.te

 policy/modules/roles/staff.te      |    9 +++++----
 policy/modules/roles/unprivuser.te |   10 +++++-----
 2 files changed, 10 insertions(+), 9 deletions(-)
policy/modules/roles/staff.te +5 -4
index 0c9876c..3fed14e 100644
@@ -27,6 +27,11 @@ optional_policy(`
 ')
 
 optional_policy(`
+	oident_manage_user_content(staff_t)
+	oident_relabel_user_content(staff_t)
+')
+
+optional_policy(`
 	postgresql_role(staff_r, staff_t)
 ')
 
@@ -121,10 +126,6 @@ ifndef(`distro_redhat',`
 	')
 
 	optional_policy(`
-		oident_manage_user_content(staff_t)
-		oident_relabel_user_content(staff_t)
-	')
-	optional_policy(`
 		pyzor_role(staff_r, staff_t)
 	')
 
policy/modules/roles/unprivuser.te +5 -5
index e8a507d..93b9f7f 100644
@@ -17,6 +17,11 @@ optional_policy(`
 ')
 
 optional_policy(`
+	oident_manage_user_content(user_t)
+	oident_relabel_user_content(user_t)
+')
+
+optional_policy(`
 	screen_role_template(user, user_r, user_t)
 ')
 
@@ -94,11 +99,6 @@ ifndef(`distro_redhat',`
 	')
 
 	optional_policy(`
-		oident_manage_user_content(user_t)
-		oident_relabel_user_content(user_t)
-	')
-
-	optional_policy(`
 		postgresql_role(user_r, user_t)
 	')
 
Signature · 9 lines
1.7.2.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100910/a95d59c8/attachment-0001.bin 
#1 lore raw

PATCH 1/1 Access for confined users to oidentd user home content is unconditional.

Quoted 1 line · Dominick Grift

Merged.

Quoted 69 lines

---
:100644 100644 0c9876c... 3fed14e... M policy/modules/roles/staff.te
:100644 100644 e8a507d... 93b9f7f... M policy/modules/roles/unprivuser.te

  policy/modules/roles/staff.te      |    9 +++++----
  policy/modules/roles/unprivuser.te |   10 +++++-----
  2 files changed, 10 insertions(+), 9 deletions(-)
policy/modules/roles/staff.te +5 -4
index 0c9876c..3fed14e 100644
@@ -27,6 +27,11 @@ optional_policy(`
  ')
 
  optional_policy(`
+	oident_manage_user_content(staff_t)
+	oident_relabel_user_content(staff_t)
+')
+
+optional_policy(`
  	postgresql_role(staff_r, staff_t)
  ')
 
@@ -121,10 +126,6 @@ ifndef(`distro_redhat',`
  	')
 
  	optional_policy(`
-		oident_manage_user_content(staff_t)
-		oident_relabel_user_content(staff_t)
-	')
-	optional_policy(`
  		pyzor_role(staff_r, staff_t)
  	')
 
policy/modules/roles/unprivuser.te +5 -5
index e8a507d..93b9f7f 100644
@@ -17,6 +17,11 @@ optional_policy(`
  ')
 
  optional_policy(`
+	oident_manage_user_content(user_t)
+	oident_relabel_user_content(user_t)
+')
+
+optional_policy(`
  	screen_role_template(user, user_r, user_t)
  ')
 
@@ -94,11 +99,6 @@ ifndef(`distro_redhat',`
  	')
 
  	optional_policy(`
-		oident_manage_user_content(user_t)
-		oident_relabel_user_content(user_t)
-	')
-
-	optional_policy(`
  		postgresql_role(user_r, user_t)
  	')
 

_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com