From 206f16a4e8776bce6cef3fcfaf0458e6c2ccdd7a Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Feb 06 2014 15:46:33 +0000 Subject: Remove sourcehostcategory from the default HBAC rule. https://fedorahosted.org/freeipa/ticket/4158 Reviewed-By: Martin Kosek --- diff --git a/install/share/default-hbac.ldif b/install/share/default-hbac.ldif index b7b6ba2..52fd30e 100644 --- a/install/share/default-hbac.ldif +++ b/install/share/default-hbac.ldif @@ -7,7 +7,6 @@ cn: allow_all accessruletype: allow usercategory: all hostcategory: all -sourcehostcategory: all servicecategory: all ipaenabledflag: TRUE description: Allow all users to access any host from any host diff --git a/ipalib/plugins/hbacrule.py b/ipalib/plugins/hbacrule.py index 5cc8bc1..daf1653 100644 --- a/ipalib/plugins/hbacrule.py +++ b/ipalib/plugins/hbacrule.py @@ -118,7 +118,7 @@ class hbacrule(LDAPObject): default_attributes = [ 'cn', 'ipaenabledflag', 'description', 'usercategory', 'hostcategory', - 'sourcehostcategory', 'servicecategory', 'ipaenabledflag', + 'servicecategory', 'ipaenabledflag', 'memberuser', 'sourcehost', 'memberhost', 'memberservice', 'memberhostgroup', 'externalhost', ]