<?xml version='1.0' encoding="ISO-8859-1" standalone="yes" ?>

<!DOCTYPE users [

	<!ELEMENT users (groups, user+) >

		<!ELEMENT groups (group)+ >
			<!ELEMENT group (members, accessRights, commandRights)+ >
			<!ATTLIST group name CDATA #REQUIRED >
				<!ELEMENT members (member)+ >
					<!ELEMENT member (#PCDATA) >
				<!ELEMENT accessRights (table)+ >
					<!ELEMENT table EMPTY >
					<!ATTLIST table name CDATA #REQUIRED >
					<!ATTLIST table canRead (true|false) "false" >
					<!ATTLIST table canWrite (true|false) "false" >
				<!ELEMENT commandRights (tableCmds)+  >
					<!ELEMENT tableCmds (command)+ >
					<!ATTLIST tableCmds tablename CDATA #REQUIRED >
						<!ELEMENT command EMPTY >
						<!ATTLIST command name CDATA #REQUIRED >
						<!ATTLIST command allowed (true|false) "false" >
		<!ELEMENT user (config, accessRights*, commandRights*, information*) >
			<!ELEMENT config (nickname, top, store) >
				<!ELEMENT nickname (#PCDATA) >
				<!ELEMENT top (#PCDATA) >
				<!ELEMENT store (#PCDATA) >
			<!ELEMENT information (nachname, vorname, anschrift, plz, ort, telefon, telefax, email) >
				<!ELEMENT nachname (#PCDATA) >
				<!ELEMENT vorname (#PCDATA) >
				<!ELEMENT anschrift (#PCDATA) >
				<!ELEMENT plz (#PCDATA) >
				<!ELEMENT ort (#PCDATA) >
				<!ELEMENT telefon (#PCDATA) >
				<!ELEMENT telefax (#PCDATA) >
				<!ELEMENT email (#PCDATA) >
]>

<!-- hier folgt die Beschreibung der Benutzergruppen, Zugriffsrechte und Benutzer -->

<users>

	<groups>

		<group name="projektleiter">
			<members>
				<member>MB</member>
				<member>RS</member>
			</members>
			<accessRights>
				<table name="adressen" canRead="true" canWrite="true" />
				<table name="dokumente" canRead="true" canWrite="true" />
				<table name="projekte" canRead="true" canWrite="true" />
			</accessRights>
			<commandRights>
				<tableCmds tablename="adressen">
					<command name="new" allowed="true" />
					<command name="edit" allowed="true" />
					<command name="delete" allowed="true" />
					<command name="copy" allowed="true" />
				</tableCmds>
				<tableCmds tablename="dokumente">
					<command name="new" allowed="true" />
					<command name="edit" allowed="true" />
					<command name="export" allowed="true" />
					<command name="import" allowed="true" />
					<command name="lock" allowed="true" />
					<command name="copy" allowed="true" />
					<command name="release" allowed="true" />
					<command name="delete" allowed="true" />
					<command name="view" allowed="true" />
				</tableCmds>
				<tableCmds tablename="projekte">
					<command name="new" allowed="true" />
					<command name="edit" allowed="true" />
					<command name="delete" allowed="true" />
					<command name="copy" allowed="true" />
				</tableCmds>
			</commandRights>
		</group>
	</groups>


	<user>
		<config>
			<nickname>SM</nickname>
			<top>/</top>
			<store>/ENTWICKLUNG/SOURCE/SM</store>
		</config>
		<information>
			<nachname>Meisner</nachname>
			<vorname>Hans Georg-Stefan Andreas Bernhard</vorname>
			<anschrift>Lünener Str. 31</anschrift>
			<plz>40472</plz>
			<ort>Düsseldorf</ort>
			<telefon>0211-6011976</telefon>
			<telefax>-</telefax>
			<email>sm@i2ag.de</email>
		</information>
	</user>
	<user>
		<config>
			<nickname>ML</nickname>
			<top>/</top>
			<store>/ML</store>
		</config>
		<information>
			<nachname>Loges</nachname>
			<vorname>Marc</vorname>
			<anschrift>-</anschrift>
			<plz>00000</plz>
			<ort>Wuppertal</ort>
			<telefon>0202-???</telefon>
			<telefax>-</telefax>
			<email>ml@kbld.de</email>
		</information>
	</user>
</users>