Guest User

udisks

a guest
Oct 14th, 2012
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 11.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE policyconfig PUBLIC
  3. "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
  4. "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
  5. <policyconfig>
  6.   <vendor>The udisks Project</vendor>
  7.   <vendor_url>http://udisks.freedesktop.org/</vendor_url>
  8.   <icon_name>drive-removable-media</icon_name>
  9.  
  10.   <action id="org.freedesktop.udisks.filesystem-mount">
  11.     <description>Mount a device</description>
  12.     <description xml:lang="da">Montér en enhed</description>
  13.     <message>Authentication is required to mount the device</message>
  14.     <message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
  15.     <defaults>
  16.       <allow_any>no</allow_any>
  17.       <allow_inactive>no</allow_inactive>
  18.       <allow_active>yes</allow_active>
  19.     </defaults>
  20.   </action>
  21.  
  22.   <action id="org.freedesktop.udisks.filesystem-mount-system-internal">
  23.     <description>Mount a system-internal device</description>
  24.     <description xml:lang="da">Montér en intern enhed</description>
  25.     <message>Authentication is required to mount the device</message>
  26.     <message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
  27.     <defaults>
  28.       <allow_any>no</allow_any>
  29.       <allow_inactive>no</allow_inactive>
  30.       <allow_active>yes</allow_active>
  31.     </defaults>
  32.   </action>
  33.  
  34.   <action id="org.freedesktop.udisks.filesystem-check">
  35.     <description>Check file system on a device</description>
  36.     <description xml:lang="da">Check fil system for en enhed</description>
  37.     <message>Authentication is required to check the file system on the device</message>
  38.     <message xml:lang="da">Autorisering er påkrævet for at checke fil systemet på en enhed</message>
  39.     <defaults>
  40.       <allow_any>no</allow_any>
  41.       <allow_inactive>no</allow_inactive>
  42.       <allow_active>yes</allow_active>
  43.     </defaults>
  44.   </action>
  45.  
  46.   <action id="org.freedesktop.udisks.filesystem-check-system-internal">
  47.     <description>Check file system of a system-internal device</description>
  48.     <description xml:lang="da">Check fil system for en intern enhed</description>
  49.     <message>Authentication is required to check the file system on the device</message>
  50.     <message xml:lang="da">Autorisering er påkrævet for at checke fil systemet på en enhed</message>
  51.     <defaults>
  52.       <allow_any>no</allow_any>
  53.       <allow_inactive>no</allow_inactive>
  54.       <allow_active>yes</allow_active>
  55.     </defaults>
  56.   </action>
  57.  
  58.   <action id="org.freedesktop.udisks.filesystem-unmount-others">
  59.     <description>Unmount a device mounted by another user</description>
  60.     <description xml:lang="da">Afmontér en enhed monteret af en anden bruger</description>
  61.     <message>Authentication is required to unmount devices mounted by another user</message>
  62.     <message xml:lang="da">Autorisering er påkrævet for at afmontere enheder monteret af en anden bruger</message>
  63.     <defaults>
  64.       <allow_any>no</allow_any>
  65.       <allow_inactive>no</allow_inactive>
  66.       <allow_active>auth_admin</allow_active>
  67.     </defaults>
  68.   </action>
  69.  
  70.   <action id="org.freedesktop.udisks.filesystem-lsof">
  71.     <description>List open files</description>
  72.     <description xml:lang="da">Vis åbne filer</description>
  73.     <message>Authentication is required to list open files on a mounted file system</message>
  74.     <message xml:lang="da">Autorisering er påkrævet for at liste åbne filer</message>
  75.     <defaults>
  76.       <allow_any>no</allow_any>
  77.       <allow_inactive>no</allow_inactive>
  78.       <allow_active>yes</allow_active>
  79.     </defaults>
  80.   </action>
  81.  
  82.   <action id="org.freedesktop.udisks.filesystem-lsof-system-internal">
  83.     <description>List open files on a system-internal device</description>
  84.     <description xml:lang="da">Vis åbne filer på en intern enhed</description>
  85.     <message>Authentication is required to list open files on a mounted file system</message>
  86.     <message xml:lang="da">Autorisering er påkrævet for at liste åbne filer</message>
  87.     <defaults>
  88.       <allow_any>no</allow_any>
  89.       <allow_inactive>no</allow_inactive>
  90.       <allow_active>auth_admin_keep</allow_active>
  91.     </defaults>
  92.   </action>
  93.  
  94.   <action id="org.freedesktop.udisks.drive-eject">
  95.     <description>Eject media from a device</description>
  96.     <message>Authentication is required to eject media from the device</message>
  97.     <message xml:lang="da">Autorisering er påkrævet for at skubbe medie ud af en enhed</message>
  98.     <defaults>
  99.       <allow_any>no</allow_any>
  100.       <allow_inactive>no</allow_inactive>
  101.       <allow_active>yes</allow_active>
  102.     </defaults>
  103.   </action>
  104.  
  105.   <action id="org.freedesktop.udisks.drive-detach">
  106.     <description>Detach a drive</description>
  107.     <message>Authentication is required to detach the drive</message>
  108.     <defaults>
  109.       <allow_any>no</allow_any>
  110.       <allow_inactive>no</allow_inactive>
  111.       <allow_active>yes</allow_active>
  112.     </defaults>
  113.   </action>
  114.  
  115.   <action id="org.freedesktop.udisks.change">
  116.     <description>Modify a device</description>
  117.     <description xml:lang="da">Modificér en enhed</description>
  118.     <message>Authentication is required to modify the device</message>
  119.     <message xml:lang="da">Autorisering er påkrævet for at ændre en enhed</message>
  120.     <defaults>
  121.       <allow_any>no</allow_any>
  122.       <allow_inactive>no</allow_inactive>
  123.       <allow_active>yes</allow_active>
  124.     </defaults>
  125.   </action>
  126.  
  127.   <action id="org.freedesktop.udisks.change-system-internal">
  128.     <description>Modify a system-internal device</description>
  129.     <description xml:lang="da">Modificér en intern enhed</description>
  130.     <message>Authentication is required to modify the device</message>
  131.     <message xml:lang="da">Autorisering er påkrævet for at ændre en enhed</message>
  132.     <defaults>
  133.       <allow_any>no</allow_any>
  134.       <allow_inactive>no</allow_inactive>
  135.       <allow_active>auth_admin_keep</allow_active>
  136.     </defaults>
  137.   </action>
  138.  
  139.   <action id="org.freedesktop.udisks.drive-ata-smart-refresh">
  140.     <description>Refresh ATA SMART data</description>
  141.     <description xml:lang="da">Læs ATA SMART data</description>
  142.     <message>Authentication is required to refresh ATA SMART data</message>
  143.     <message xml:lang="da">Autorisering er påkrævet for at læse ATA SMART data</message>
  144.     <defaults>
  145.       <allow_any>no</allow_any>
  146.       <allow_inactive>no</allow_inactive>
  147.       <allow_active>yes</allow_active>
  148.     </defaults>
  149.   </action>
  150.  
  151.   <action id="org.freedesktop.udisks.drive-ata-smart-selftest">
  152.     <description>Run ATA SMART Self Tests</description>
  153.     <description xml:lang="da">Kør ATA SMART selv checks</description>
  154.     <message>Authentication is required to run ATA SMART self tests</message>
  155.     <message xml:lang="da">Autorisering er påkrævet for at køre ATA SMART selvcheck</message>
  156.     <defaults>
  157.       <allow_any>no</allow_any>
  158.       <allow_inactive>no</allow_inactive>
  159.       <allow_active>auth_admin</allow_active>
  160.     </defaults>
  161.   </action>
  162.  
  163.   <action id="org.freedesktop.udisks.drive-ata-smart-retrieve-historical-data">
  164.     <description>Retrieve historical ATA SMART data</description>
  165.     <description xml:lang="da">Hent historisk ATA SMART data</description>
  166.     <message>Authentication is required to retrieve historical ATA SMART data</message>
  167.     <message xml:lang="da">Autorisering er påkrævet for at hente historisk ATA SMART data</message>
  168.     <defaults>
  169.       <allow_any>no</allow_any>
  170.       <allow_inactive>no</allow_inactive>
  171.       <allow_active>yes</allow_active>
  172.     </defaults>
  173.   </action>
  174.  
  175.   <action id="org.freedesktop.udisks.luks-unlock">
  176.     <description>Unlock an encrypted device</description>
  177.     <description xml:lang="da">Åbn en krypteret enhed</description>
  178.     <message>Authentication is required to unlock an encrypted device</message>
  179.     <message xml:lang="da">Autorisering er påkrævet for at åbne en krypteret enhed</message>
  180.     <defaults>
  181.       <allow_any>no</allow_any>
  182.       <allow_inactive>no</allow_inactive>
  183.       <allow_active>yes</allow_active>
  184.     </defaults>
  185.   </action>
  186.  
  187.   <action id="org.freedesktop.udisks.luks-lock-others">
  188.     <description>Lock an encrypted device unlocked by another user</description>
  189.     <description xml:lang="da">Lås en krypteret enhed åbnet af en anden bruger</description>
  190.     <message>Authentication is required to lock an encrypted device unlocked by another user</message>
  191.     <message xml:lang="da">Autorisering er påkrævet for at låse en krypteret enhed åbnet af en anden bruger</message>
  192.     <defaults>
  193.       <allow_any>no</allow_any>
  194.       <allow_inactive>no</allow_inactive>
  195.       <allow_active>auth_admin</allow_active>
  196.     </defaults>
  197.   </action>
  198.  
  199.   <action id="org.freedesktop.udisks.linux-md">
  200.     <description>Configure Linux Software RAID</description>
  201.     <description xml:lang="da">Konfigurér Software RAID</description>
  202.     <message>Authentication is required to configure Linux Software RAID devices</message>
  203.     <message xml:lang="da">Autorisering er påkrævet for at konfigurere RAID enheder</message>
  204.     <defaults>
  205.       <allow_any>no</allow_any>
  206.       <allow_inactive>no</allow_inactive>
  207.       <allow_active>auth_admin_keep</allow_active>
  208.     </defaults>
  209.   </action>
  210.  
  211.   <action id="org.freedesktop.udisks.linux-lvm2">
  212.     <description>Configure Linux LVM2</description>
  213.     <message>Authentication is required to configure Linux LVM2</message>
  214.     <defaults>
  215.       <allow_any>no</allow_any>
  216.       <allow_inactive>no</allow_inactive>
  217.       <allow_active>auth_admin_keep</allow_active>
  218.     </defaults>
  219.   </action>
  220.  
  221.   <action id="org.freedesktop.udisks.cancel-job-others">
  222.     <description>Cancel a job initiated by another user</description>
  223.     <description xml:lang="da">Afbryd job påbegyndt af en anden bruger</description>
  224.     <message>Authentication is required to cancel a job initiated by another user</message>
  225.     <message xml:lang="da">Autorisering er påkrævet for at afbryde et job påbegyndt af en anden bruger</message>
  226.     <defaults>
  227.       <allow_any>no</allow_any>
  228.       <allow_inactive>no</allow_inactive>
  229.       <allow_active>auth_admin</allow_active>
  230.     </defaults>
  231.   </action>
  232.  
  233.   <action id="org.freedesktop.udisks.inhibit-polling">
  234.     <description>Inhibit media detection</description>
  235.     <description xml:lang="da">Undertryk medie detektion</description>
  236.     <message>Authentication is required to inhibit media detection</message>
  237.     <message xml:lang="da">Autorisering er påkrævet for at undertrykke medie detektion</message>
  238.     <defaults>
  239.       <allow_any>no</allow_any>
  240.       <allow_inactive>no</allow_inactive>
  241.       <allow_active>yes</allow_active>
  242.     </defaults>
  243.   </action>
  244.  
  245.   <action id="org.freedesktop.udisks.drive-set-spindown">
  246.     <description>Set drive spindown timeout</description>
  247.     <message>Authentication is required to configure drive spindown timeout</message>
  248.     <defaults>
  249.       <allow_any>no</allow_any>
  250.       <allow_inactive>no</allow_inactive>
  251.       <allow_active>yes</allow_active>
  252.     </defaults>
  253.   </action>
  254.  
  255. </policyconfig>
Advertisement
Add Comment
Please, Sign In to add comment