summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-05-07 14:28:22 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-05-07 14:43:37 -0400
commit4cb722d650a7cc5d0f58141d309896b901d19784 (patch)
tree799abd847868ef78059a513e914c5b84781c1831 /schemas
parent9d6387d66c863c8525a4521258ccda136c3d6817 (diff)
downloadbcfg2-4cb722d650a7cc5d0f58141d309896b901d19784.tar.gz
bcfg2-4cb722d650a7cc5d0f58141d309896b901d19784.tar.bz2
bcfg2-4cb722d650a7cc5d0f58141d309896b901d19784.zip
POSIXUsers: allow better <MemberOf group="foo"/> syntax
Diffstat (limited to 'schemas')
-rw-r--r--schemas/types.xsd29
1 files changed, 22 insertions, 7 deletions
diff --git a/schemas/types.xsd b/schemas/types.xsd
index 31fea26a2..05bf674ad 100644
--- a/schemas/types.xsd
+++ b/schemas/types.xsd
@@ -381,6 +381,27 @@
</xsd:restriction>
</xsd:simpleType>
+ <xsd:complexType name="MemberOfType">
+ <xsd:annotation>
+ <xsd:documentation>
+ Specify additional supplementary groups for the POSIXUser
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:token">
+ <xsd:attribute name="group" type="xsd:token">
+ <xsd:annotation>
+ <xsd:documentation>
+ The name of the supplementary group. This can also be
+ specified as content of the tag, although that is
+ deprecated.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
<xsd:complexType name="POSIXUserType">
<xsd:annotation>
<xsd:documentation>
@@ -388,13 +409,7 @@
</xsd:documentation>
</xsd:annotation>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
- <xsd:element name='MemberOf' type='xsd:token'>
- <xsd:annotation>
- <xsd:documentation>
- Specify additional supplementary groups for the POSIXUser
- </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
+ <xsd:element name='MemberOf' type='MemberOfType'/>
</xsd:choice>
<xsd:attribute type="xsd:token" name="name" use="required">
<xsd:annotation>