diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-08-20 10:49:32 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-08-26 17:11:31 +0200 |
commit | a3f4342b5ac4f85ad6cdaf058c310a7a5bd649cf (patch) | |
tree | 92da3f14da37c0f7f249130d7aedbb0deee6f5c4 /data | |
parent | c4e500db37b4b9fa9b354ee0076381f35c74aece (diff) | |
download | xdg-app-a3f4342b5ac4f85ad6cdaf058c310a7a5bd649cf.tar.gz |
Initial version of permission store
This is a generalized store for permissions, which also will
be used by the document portal.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.XdgApp.xml | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/data/org.freedesktop.XdgApp.xml b/data/org.freedesktop.XdgApp.xml index bfa558f..b156c94 100644 --- a/data/org.freedesktop.XdgApp.xml +++ b/data/org.freedesktop.XdgApp.xml @@ -30,5 +30,49 @@ <arg type='ay' name='path' direction='out'/> </method> </interface> -</node> + <interface name='org.freedesktop.XdgApp.PermissionStore'> + + <method name="Lookup"> + <arg name='table' type='s' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='permissions' type='a{sas}' direction='out'/> + <arg name='data' type='v' direction='out'/> + </method> + + <method name="Set"> + <arg name='table' type='s' direction='in'/> + <arg name='create' type='b' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='app_permissions' type='a{sas}' direction='in'/> + <arg name='data' type='v' direction='in'/> + </method> + + <method name="Delete"> + <arg name='table' type='s' direction='in'/> + <arg name='id' type='s' direction='in'/> + </method> + + <method name="SetValue"> + <arg name='table' type='s' direction='in'/> + <arg name='create' type='b' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='data' type='v' direction='in'/> + </method> + + <method name="SetPermission"> + <arg name='table' type='s' direction='in'/> + <arg name='create' type='b' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='app' type='s' direction='in'/> + <arg name='permissions' type='as' direction='in'/> + </method> + + <method name="List"> + <arg name='table' type='s' direction='in'/> + <arg name='ids' type='as' direction='out'/> + </method> + + </interface> + +</node> |