Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleAdmin
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
	<rightsname>Admin</rightsname>
	<rights>
		<right>
			<access>WRITE</access>
			<objecttype>Workergroup</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>ChecklistTemplate</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>CrewMembership</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Wagetype</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ServiceContractContainer</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Task</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>CapaPhase</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Webclient</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Project</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>CapaProject</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>SbcPlacing</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Vehicle</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Activity</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Projectmember</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>MobileDevice</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Specialtime</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Wtm</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>MobileClient</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Specific</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Servicecontract</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Report</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Crew</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Projecttemplate</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>CompanySetting</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>TimeTracker</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Worker</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Search</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>TaskType</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Subcontractor</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Clipboard</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>StockItem</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>MobileTransaction</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Portaluser</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>CapaEffort</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>StockItemBooking</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>StockItemDepot</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Customer</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>WageBooking</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Document</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Taskentry</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Statistics</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Human</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>UserSettings</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>ChecklistItem</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>ChecklistItemValue</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>ChecklistCategory</objecttype>
		</right>
	</rights>
</root>
Expand
titleEinteiler
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
    <rightsname>Einteiler</rightsname>
    <basedon>Admin</basedon>
    <rights>
        <right>
            <access>READ</access>
            <objecttype>CompanySetting</objecttype>
        </right>	<right>
			<access>WRITE</access>
			<objecttype>ResourceReOrder</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>ApproveTaskentry</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>ReleaseTaskentry</objecttype>
		</right>
	</rights>
</root>
expand
Expand
titleEinteiler
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
    <rightsname>Einteiler</rightsname>
    <basedon>Admin</basedon>
    <rights>
        <right>
            <access>READ</access>
            <objecttype>Servicecontract<<objecttype>CompanySetting</objecttype>
        </right>
        <right>
</rights>
</root>
            <access>READ</access>
            <objecttype>Servicecontract</objecttype>
        </right>
    </rights>
</root>
Expand
titleMobil
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
	<rightsname>Mobil</rightsname>
	<basedon>NoRights</basedon>
	<rights>
		<right>
			<access>WRITE</access>
			<objecttype>MobileClient</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Portaluser</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Customer</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Project</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Document</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Task</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Taskentry</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>MobileTransaction</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Search</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>MobileDevice</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>CompanySetting</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Crew</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>StockItemBooking</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>StockItemDepot</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Wtm</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>WageBooking</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>TimeTracker</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>StockItem</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>TaskType</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Clipboard</objecttype>
		</right>
	</rights>
</root>

...

Expand
titleLesen
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
	<rightsname>Lesen</rightsname>
	<rights>
		<right>
			<access>READ</access>
			<objecttype>Workergroup</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ChecklistTemplate</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>CrewMembership</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Wagetype</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ServiceContractContainer</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Task</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>CapaPhase</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Webclient</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Project</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>CapaProject</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>SbcPlacing</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Vehicle</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Activity</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Projectmember</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>MobileDevice</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Specialtime</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Wtm</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>MobileClient</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Specific</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Servicecontract</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Report</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Crew</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Projecttemplate</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>CompanySetting</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>TimeTracker</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Worker</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Search</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>TaskType</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Subcontractor</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Clipboard</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>StockItem</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>MobileTransaction</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Portaluser</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>CapaEffort</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>StockItemBooking</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>StockItemDepot</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Customer</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>WageBooking</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Document</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Taskentry</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Statistics</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>Human</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>UserSettings</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ChecklistItem</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ChecklistItemValue</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ChecklistCategory</objecttype>
		</right>
		<right>
			<<access>READ</rights>
</access>
			<objecttype>ResourceReOrder</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ApproveTaskentry</objecttype>
		</right>
		<right>
			<access>READ</access>
			<objecttype>ReleaseTaskentry</objecttype>
		</right>
	</rights>
</root>
Expand
titlePunch-In/Out
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
	<rightsname>Punch-In/Out</rightsname>
	<basedon>NoRights</basedon>
	<rights>
		<right>
			<access>READ</access>
			<objecttype>Task</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>MobileTransaction</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>TimeTracker</objecttype>
		</right>
		<right>
			<access>WRITE</access>
			<objecttype>Webclient</objecttype>
		</right>
	</rights>
</root>

...

Standard Vorlage überschreiben / verstecken

Standard Vorlagen können mit dem folgenden Trick ausgeblendet und überschrieben werden:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<root>
	<rightsname>Lesen</rightsname>
	<basedon>Lesen</basedon>
	<active>false</active>
	<rights></rights>
</root>

Wenn es eine Benutzerdefinierte Vorlage mit dem Namen einer Standard Vorlage gibt, zieht die Benutzerdefinierte Vorlage.

Der basedon Wert bezieht sich in diesem Fall auf die Standard Vorlage, da gilt: Wenn rightsname = basedon, dann wird das basedon in den Standard Vorlagen gesucht.

Durch das active = false steht die Lesen Vorlage nun nicht mehr zur Auswahl in der Benutzer Berechtigungsmaske.

Da der rights Block leer ist (<rights></rights>) werden alle Berechtigungen aus der basedon Vorlage übernommen und somit können andere Benutzerdefinierte Vorlagen weiterhin mittels basedon auf Lesen verweisen.