summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPawel Wieczorkiewicz <pwieczorkiewicz@suse.de>2013-10-07 12:41:06 +0200
committerMartin Pitt <martinpitt@gnome.org>2013-12-19 11:15:39 +0100
commit106faf48359b51d5d2d68c8f4e6a1f53f5c14dfe (patch)
treee995525fa41748f40a19175f49e2855fd07165ec /doc
parenta2b8186b120cfb922dacbd5a9950dfc997cc9d28 (diff)
Add polkit authorization variables for removable media
Add new variables 'drive.removable.bus' and 'drive.removable.media'. It allows restricting or granting access to removable media based on its type by polkit authorization rules. It makes possible to grant access to USB devices, while restrict access to Optical drives. Signed-off-by: Martin Pitt <martinpitt@gnome.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/udisks2-docs.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/udisks2-docs.xml b/doc/udisks2-docs.xml
index acacfe3..8533709 100644
--- a/doc/udisks2-docs.xml
+++ b/doc/udisks2-docs.xml
@@ -248,6 +248,14 @@
<entry><parameter>drive.removable</parameter></entry>
<entry>If the object is a drive (or a block device that is part of a drive), this is set to the string <quote>true</quote> only if the value of the <link linkend="gdbus-property-org-freedesktop-UDisks2-Drive.Removable">Drive:Removable</link> property is <constant>TRUE</constant>.</entry>
</row>
+ <row>
+ <entry><parameter>drive.removable.bus</parameter></entry>
+ <entry>If the object is a drive (or a block device that is part of a drive), this is set to the value of the <link linkend="gdbus-property-org-freedesktop-UDisks2-Drive.ConnectionBus">Drive:ConnectionBus</link> property. This variable is set only if the value of the <link linkend="gdbus-property-org-freedesktop-UDisks2-Drive.Removable">Drive:Removable</link> property is <constant>TRUE</constant>.</entry>
+ </row>
+ <row>
+ <entry><parameter>drive.removable.media</parameter></entry>
+ <entry>If the object is a drive (or a block device that is part of a drive), this is set to the value of the <link linkend="gdbus-property-org-freedesktop-UDisks2-Drive.MediaCompatibility">Drive:MediaCompatibility</link> property. This variable is set only if the value of the <link linkend="gdbus-property-org-freedesktop-UDisks2-Drive.Removable">Drive:Removable</link> property is <constant>TRUE</constant>.</entry>
+ </row>
<row>
<entry><parameter>id.type</parameter></entry>