add policy file for roles
[opensuse:yast-rest-service.git] / plugins / roles / package / org.opensuse.yast.roles.policy
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
7   <vendor>YaST Webservice Project</vendor>
8   <vendor_url>http://en.opensuse.org/YAST</vendor_url>
9
10 <!--
11 Rights for setting/getting user permissions
12 -->
13
14   <action id="org.opensuse.yast.roles.assign">
15     <description>Assigning user to certain webyast roles</description>
16     <message>Authentication is required to assign webyast role to user</message>
17     <defaults>
18       <allow_inactive>no</allow_inactive>
19       <allow_active>no</allow_active>
20     </defaults>
21   </action>
22   <action id="org.opensuse.yast.roles.modify">
23     <description>Modify webyast roles</description>
24     <message>Authentication is required to modify webyast role</message>
25     <defaults>
26       <allow_inactive>no</allow_inactive>
27       <allow_active>no</allow_active>
28     </defaults>
29   </action>
30
31 </policyconfig>