diff options
author | David Zeuthen <david@fubar.dk> | 2006-03-14 06:14:33 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2006-03-14 06:14:33 +0000 |
commit | 96f6daa63d428d9a16d8564b83f33b71e1cd41ca (patch) | |
tree | 6a8ec6e8928e65f5defec45ec169cdf4f6da9018 /polkit-interface-manager.xml | |
parent | 4f567cd7eef1cb7fcd5777a0ba2b6df03e5ea88c (diff) | |
download | polkit-96f6daa63d428d9a16d8564b83f33b71e1cd41ca.tar.gz |
Add a bunch of code; basically a full rewrite moving all queries to the
daemon.
Diffstat (limited to 'polkit-interface-manager.xml')
-rw-r--r-- | polkit-interface-manager.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/polkit-interface-manager.xml b/polkit-interface-manager.xml new file mode 100644 index 0000000..b3a3801 --- /dev/null +++ b/polkit-interface-manager.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<node name="/org/freedesktop/PolicyKit/Manager"> + <interface name="org.freedesktop.PolicyKit.Manager"> + + <method name="InitiatePrivilegeGrant"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="user" type="s" direction="in"/> + <arg name="privilege" type="s" direction="in"/> + <arg name="resource" type="s" direction="in"/> + <arg name="session_objpath" type="o" direction="out"/> + </method> + + <method name="IsUserPrivileged"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="pid" type="i" direction="in"/> + <arg name="user" type="s" direction="in"/> + <arg name="privilege" type="s" direction="in"/> + <arg name="resource" type="s" direction="in"/> + <arg name="is_privileged" type="b" direction="out"/> + </method> + + <method name="GetAllowedResourcesForPrivilege"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="user" type="s" direction="in"/> + <arg name="privilege" type="s" direction="in"/> + <arg name="resource_list" type="as" direction="out"/> + </method> + + <method name="ListPrivileges"> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <arg name="privilege_list" type="as" direction="out"/> + </method> + + </interface> +</node> |