Vorlagen

Standard Vorlagen

<?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> <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>
<?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>READ</access> <objecttype>Servicecontract</objecttype> </right> </rights> </root>
<?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>

Benutzerdefinierte Vorlagen

Benutzerdefinierte Vorlagen können erstellt werden indem eine Systemkonfiguration erstellt wird mit dem Inhaltstyp RIGHTS_TEMPLATE

Beispiel Dateiinhalt

Standard Vorlage überschreiben / verstecken

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

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.