summaryrefslogtreecommitdiffstats
path: root/sfshare-daemon/data/org.fedoraproject.SimpleFileShare.policy
blob: f0c68941714c2d43725ac074e12628a45b61b298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>

  <vendor>SimpleFileShare</vendor>
  <vendor_url>git://fedorapeople.org/home/fedora/lipoja/public_git/sfshare.git</vendor_url>

  <action id="org.fedoraproject.SimpleFileShare.setup_share">
    <description>Setup share</description>
    <message>Writing to smb.conf requires authentication</message>
    <defaults>
      <allow_any>auth_admin_keep</allow_any>
      <allow_inactive>auth_admin_keep</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>


  <action id="org.fedoraproject.SimpleFileShare.delete_share">
    <description>Delete share from smb.conf</description>
    <message>Writing to smb.conf requires authentication</message>
    <defaults>
      <allow_any>auth_admin_keep</allow_any>
      <allow_inactive>auth_admin_keep</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

</policyconfig>