chiark / gitweb /
importd: add API for exporting container/VM images
[elogind.git] / src / import / org.freedesktop.import1.policy.in
index 95a79d2baac410831d7a43036800c860b36ca998..85924ed7437bd5d279d3b7ecc67618946cd435ec 100644 (file)
                 </defaults>
         </action>
 
+        <action id="org.freedesktop.import1.export">
+                <_description>Export a VM or container image</_description>
+                <_message>Authentication is required to export a VM or container image</_message>
+                <defaults>
+                        <allow_any>auth_admin</allow_any>
+                        <allow_inactive>auth_admin</allow_inactive>
+                        <allow_active>auth_admin_keep</allow_active>
+                </defaults>
+        </action>
+
         <action id="org.freedesktop.import1.pull">
                 <_description>Download a VM or container image</_description>
                 <_message>Authentication is required to download a VM or container image</_message>