Revision deeebc96
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
locale/de/all | ||
---|---|---|
1276 | 1276 |
'Edit the sales_order' => 'Bearbeiten des Auftrags', |
1277 | 1277 |
'Edit the sales_quotation' => 'Bearbeiten des Angebots', |
1278 | 1278 |
'Edit time recording type' => 'Typ für Zeiterfassung bearbeiten', |
1279 |
'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten', |
|
1279 | 1280 |
'Edit title' => 'Titiel bearbeiten', |
1280 | 1281 |
'Edit units' => 'Einheiten bearbeiten', |
1281 | 1282 |
'Edit user signature' => 'Benutzersignatur bearbeiten', |
... | ... | |
1911 | 1912 |
'List of jobs' => 'Jobliste', |
1912 | 1913 |
'List of tax zones' => 'Liste der Steuerzonen', |
1913 | 1914 |
'List open SEPA exports' => 'Noch nicht ausgeführte SEPA-Exporte anzeigen', |
1915 |
'List time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter anzeigen', |
|
1914 | 1916 |
'Listprice' => 'Listenpreis', |
1915 | 1917 |
'Load' => 'Laden', |
1916 | 1918 |
'Load an existing draft' => 'Einen bestehenden Entwurf laden', |
locale/en/all | ||
---|---|---|
1276 | 1276 |
'Edit the sales_order' => '', |
1277 | 1277 |
'Edit the sales_quotation' => '', |
1278 | 1278 |
'Edit time recording type' => '', |
1279 |
'Edit time recordings of all staff members' => '', |
|
1279 | 1280 |
'Edit title' => '', |
1280 | 1281 |
'Edit units' => '', |
1281 | 1282 |
'Edit user signature' => '', |
... | ... | |
1911 | 1912 |
'List of jobs' => '', |
1912 | 1913 |
'List of tax zones' => '', |
1913 | 1914 |
'List open SEPA exports' => '', |
1915 |
'List time recordings of all staff members' => '', |
|
1914 | 1916 |
'Listprice' => '', |
1915 | 1917 |
'Load' => '', |
1916 | 1918 |
'Load an existing draft' => '', |
sql/Pg-upgrade2-auth/rights_time_recording_show_edit_all.sql | ||
---|---|---|
1 |
-- @tag: rights_time_recording_show_edit_all |
|
2 |
-- @description: Rechte, Zeiterfassungseinträge aller Mitarbeiter anzuzeigen bzw. zu bearbeiten |
|
3 |
-- @depends: right_time_recording |
|
4 |
-- @locales: List time recordings of all staff members |
|
5 |
-- @locales: Edit time recordings of all staff members |
|
6 |
|
|
7 |
INSERT INTO auth.master_rights (position, name, description, category) |
|
8 |
VALUES ((SELECT position + 20 FROM auth.master_rights WHERE name = 'time_recording'), |
|
9 |
'time_recording_show_all', |
|
10 |
'List time recordings of all staff members', |
|
11 |
FALSE); |
|
12 |
|
|
13 |
INSERT INTO auth.group_rights (group_id, "right", granted) |
|
14 |
SELECT id, 'time_recording_show_all', true |
|
15 |
FROM auth.group |
|
16 |
WHERE name = 'Vollzugriff'; |
|
17 |
|
|
18 |
INSERT INTO auth.master_rights (position, name, description, category) |
|
19 |
VALUES ((SELECT position + 20 FROM auth.master_rights WHERE name = 'time_recording_show_all'), |
|
20 |
'time_recording_edit_all', |
|
21 |
'Edit time recordings of all staff members', |
|
22 |
FALSE); |
|
23 |
|
|
24 |
INSERT INTO auth.group_rights (group_id, "right", granted) |
|
25 |
SELECT id, 'time_recording_edit_all', true |
|
26 |
FROM auth.group |
|
27 |
WHERE name = 'Vollzugriff'; |
Auch abrufbar als: Unified diff
Zeiterfassung: neue Rechte: anzeigen bzw. bearbeiten der Einträge aller