Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b3e6a759

Von Bernd Bleßmann vor etwa 4 Jahren hinzugefügt

  • ID b3e6a759e93dd4b7269b853c8849acafb3229d4a
  • Vorgänger bd798fe1
  • Nachfolger c22bd347

Zeiterfassung: neue Rechte: anzeigen bzw. bearbeiten der Einträge aller

Unterschiede anzeigen:

locale/de/all
1266 1266
  'Edit the sales_order'        => 'Bearbeiten des Auftrags',
1267 1267
  'Edit the sales_quotation'    => 'Bearbeiten des Angebots',
1268 1268
  'Edit time recording type'    => 'Typ für Zeiterfassung bearbeiten',
1269
  'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten',
1269 1270
  'Edit title'                  => 'Titiel bearbeiten',
1270 1271
  'Edit units'                  => 'Einheiten bearbeiten',
1271 1272
  'Edit user signature'         => 'Benutzersignatur bearbeiten',
......
1895 1896
  'List of jobs'                => 'Jobliste',
1896 1897
  'List of tax zones'           => 'Liste der Steuerzonen',
1897 1898
  'List open SEPA exports'      => 'Noch nicht ausgeführte SEPA-Exporte anzeigen',
1899
  'List time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter anzeigen',
1898 1900
  'Listprice'                   => 'Listenpreis',
1899 1901
  'Load'                        => 'Laden',
1900 1902
  'Load an existing draft'      => 'Einen bestehenden Entwurf laden',
locale/en/all
1266 1266
  'Edit the sales_order'        => '',
1267 1267
  'Edit the sales_quotation'    => '',
1268 1268
  'Edit time recording type'    => '',
1269
  'Edit time recordings of all staff members' => '',
1269 1270
  'Edit title'                  => '',
1270 1271
  'Edit units'                  => '',
1271 1272
  'Edit user signature'         => '',
......
1895 1896
  'List of jobs'                => '',
1896 1897
  'List of tax zones'           => '',
1897 1898
  'List open SEPA exports'      => '',
1899
  'List time recordings of all staff members' => '',
1898 1900
  'Listprice'                   => '',
1899 1901
  'Load'                        => '',
1900 1902
  '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