summaryrefslogtreecommitdiffstats
path: root/sudoers/policy_association.rng
blob: 89037e02f03cf085d0838b36cf43797f223772ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<element name="association" xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
xmlns:a="http://freeipa.org/xml/rng/ns/annotations/1.0">
<a:doc>This section describes the associations of a policy, i.e. on which host for what users or groups it should apply. This means, that i a generic policy this section does not exists. It is filled when a client downloads his policies based on the association which are valid for this client.</a:doc>
  <attribute name="name">
    <data type="string">
      <param name="pattern">[A-Za-z0-9_-]{1,16}</param>
    </data>
  </attribute>
  <attribute name="type">
    <choice>
      <value>user</value>
      <value>posixGroup</value>
      <value>netgroup</value>
      <value>host</value>
      <value>hostGroup</value>
    </choice>
  </attribute>
</element>