|
|
dddd59 |
commit ca50c5ec065328547c6fce21c1b7e7c79c6641c2
|
|
|
dddd59 |
Author: Thomas Woerner <twoerner@redhat.com>
|
|
|
dddd59 |
Date: Tue Aug 9 16:48:11 2016 +0200
|
|
|
dddd59 |
|
|
|
dddd59 |
firewall/server/firewalld: Make getXSettings and getLogDenied CONFIG_INFO
|
|
|
dddd59 |
|
|
|
dddd59 |
diff --git a/src/firewall/server/firewalld.py b/src/firewall/server/firewalld.py
|
|
|
dddd59 |
index 65f65f8..92da014 100644
|
|
|
dddd59 |
--- a/src/firewall/server/firewalld.py
|
|
|
dddd59 |
+++ b/src/firewall/server/firewalld.py
|
|
|
dddd59 |
@@ -793,7 +793,7 @@ class FirewallD(slip.dbus.service.Object):
|
|
|
dddd59 |
|
|
|
dddd59 |
# list functions
|
|
|
dddd59 |
|
|
|
dddd59 |
- @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_INFO)
|
|
|
dddd59 |
+ @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_CONFIG_INFO)
|
|
|
dddd59 |
@dbus_service_method(config.dbus.DBUS_INTERFACE, in_signature='s',
|
|
|
dddd59 |
out_signature=Zone.DBUS_SIGNATURE)
|
|
|
dddd59 |
@dbus_handle_exceptions
|
|
|
dddd59 |
@@ -814,7 +814,7 @@ class FirewallD(slip.dbus.service.Object):
|
|
|
dddd59 |
log.debug1("listServices()")
|
|
|
dddd59 |
return self.fw.service.get_services()
|
|
|
dddd59 |
|
|
|
dddd59 |
- @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_INFO)
|
|
|
dddd59 |
+ @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_CONFIG_INFO)
|
|
|
dddd59 |
@dbus_service_method(config.dbus.DBUS_INTERFACE, in_signature='s',
|
|
|
dddd59 |
out_signature=Service.DBUS_SIGNATURE)
|
|
|
dddd59 |
@dbus_handle_exceptions
|
|
|
dddd59 |
@@ -835,7 +835,7 @@ class FirewallD(slip.dbus.service.Object):
|
|
|
dddd59 |
log.debug1("listIcmpTypes()")
|
|
|
dddd59 |
return self.fw.icmptype.get_icmptypes()
|
|
|
dddd59 |
|
|
|
dddd59 |
- @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_INFO)
|
|
|
dddd59 |
+ @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_CONFIG_INFO)
|
|
|
dddd59 |
@dbus_service_method(config.dbus.DBUS_INTERFACE, in_signature='s',
|
|
|
dddd59 |
out_signature=IcmpType.DBUS_SIGNATURE)
|
|
|
dddd59 |
@dbus_handle_exceptions
|
|
|
dddd59 |
@@ -849,7 +849,7 @@ class FirewallD(slip.dbus.service.Object):
|
|
|
dddd59 |
|
|
|
dddd59 |
# LOG DENIED
|
|
|
dddd59 |
|
|
|
dddd59 |
- @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_INFO)
|
|
|
dddd59 |
+ @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_CONFIG_INFO)
|
|
|
dddd59 |
@dbus_service_method(config.dbus.DBUS_INTERFACE, in_signature='',
|
|
|
dddd59 |
out_signature='s')
|
|
|
dddd59 |
@dbus_handle_exceptions
|
|
|
dddd59 |
@@ -2244,7 +2244,7 @@ class FirewallD(slip.dbus.service.Object):
|
|
|
dddd59 |
log.debug1("ipsets.getIPSets()")
|
|
|
dddd59 |
return self.fw.ipset.get_ipsets()
|
|
|
dddd59 |
|
|
|
dddd59 |
- @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_INFO)
|
|
|
dddd59 |
+ @slip.dbus.polkit.require_auth(config.dbus.PK_ACTION_CONFIG_INFO)
|
|
|
dddd59 |
@dbus_service_method(config.dbus.DBUS_INTERFACE_IPSET, in_signature='s',
|
|
|
dddd59 |
out_signature=IPSet.DBUS_SIGNATURE)
|
|
|
dddd59 |
@dbus_handle_exceptions
|