ref: refs/heads/master
commit 528014df1636ae4d9a4826f368b004976b080822
Author: Martin Vidner
Date: Fri Aug 14 13:21:45 2009 +0200
Revert "new YaPI-based policy file"
This reverts commit 651bd0fcda436a8e5909acb6ef7aef0e03ef0975.
---
.../org.opensuse.yast.modules.yapi.services.policy | 39 --------------------
.../org.opensuse.yast.system.services.policy | 39 ++++++++++++++++++++
2 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/plugins/services/package/org.opensuse.yast.modules.yapi.services.policy b/plugins/services/package/org.opensuse.yast.modules.yapi.services.policy
deleted file mode 100644
index 0f5d8ab..0000000
--- a/plugins/services/package/org.opensuse.yast.modules.yapi.services.policy
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
-
-<policyconfig>
- <vendor>Novell, Inc.</vendor>
- http://www.novell.com
-
- <action id="org.opensuse.yast.modules.yapi.services.read">
- <description>Get list of services.</description>
- <message>System policy prevents the Yast DBus service from reading service list.</message>
- <defaults>
- no
- no
- auth_admin_keep_session
- </defaults>
- </action>
-
- <action id="org.opensuse.yast.modules.yapi.services.get">
- <description>Get the information about given service.</description>
- <message>System policy prevents the Yast DBus service from reading service info.</message>
- <defaults>
- no
- no
- auth_admin_keep_session
- </defaults>
- </action>
-
- <action id="org.opensuse.yast.modules.yapi.services.execute">
- <description>Starting/stopping services.</description>
- <message>System policy prevents the Yast DBus service from executing service script.</message>
- <defaults>
- no
- no
- auth_admin_keep_session
- </defaults>
- </action>
-</policyconfig>
-
diff --git a/plugins/services/package/org.opensuse.yast.system.services.policy b/plugins/services/package/org.opensuse.yast.system.services.policy
new file mode 100644
index 0000000..1db9ebd
--- /dev/null
+++ b/plugins/services/package/org.opensuse.yast.system.services.policy
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+<policyconfig>
+
+ <vendor>YaST Webservice Project</vendor>
+ http://en.opensuse.org/YAST
+
+<!--
+Rights for services
+-->
+
+ <action id="org.opensuse.yast.system.services.read">
+ <description>Reading service settings</description>
+ <message>Authentication is required to read service settings</message>
+ <defaults>
+ no
+ no
+ </defaults>
+ </action>
+ <action id="org.opensuse.yast.system.services.write">
+ <description>Writing service settings; Starting/Stoping services</description>
+ <message>Authentication is required to run services and set the parameters</message>
+ <defaults>
+ no
+ no
+ </defaults>
+ </action>
+ <action id="org.opensuse.yast.system.services.execute">
+ <description>Starting/stopping/... services</description>
+ <message>Authentication is required to handle services</message>
+ <defaults>
+ no
+ no
+ </defaults>
+ </action>
+
+</policyconfig>
\ No newline at end of file
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org