Revision 7e96468d
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Controller/MaterializeTest.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
use parent qw(SL::Controller::Base); |
5 | 5 |
|
6 |
__PACKAGE__->run_before(sub { $::auth->assert('developer') }); |
|
7 |
|
|
6 | 8 |
sub action_components { |
7 | 9 |
$_[0]->render("test/components"); |
8 | 10 |
} |
SL/Controller/Part.pm | ||
---|---|---|
41 | 41 |
__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit') }, |
42 | 42 |
except => [ qw(ajax_autocomplete part_picker_search part_picker_result) ]); |
43 | 43 |
|
44 |
__PACKAGE__->run_before(sub { $::auth->assert('developer') }, |
|
45 |
only => [ qw(test_page) ]); |
|
46 |
|
|
44 | 47 |
__PACKAGE__->run_before('check_part_id', only => [ qw(edit delete) ]); |
45 | 48 |
|
46 | 49 |
# actions for editing parts |
locale/de/all | ||
---|---|---|
678 | 678 |
'Compare to' => 'Gegenüberstellen zu', |
679 | 679 |
'Complexities' => 'Komplexitätsgrade', |
680 | 680 |
'Complexity' => 'Komplexität', |
681 |
'Component Test' => 'Kompenten Test',
|
|
681 |
'Component Test' => 'Komponenten-Test',
|
|
682 | 682 |
'Configuration' => 'Konfiguration', |
683 | 683 |
'Configuration of individual TODO items' => 'Konfiguration für die einzelnen Aufgabenlistenpunkte', |
684 | 684 |
'Configure' => 'Konfigurieren', |
... | ... | |
1053 | 1053 |
'Detail view' => 'Detailanzeige', |
1054 | 1054 |
'Details' => 'Details', |
1055 | 1055 |
'Details (one letter abbreviation)' => 'D', |
1056 |
'Developer Tools' => '', |
|
1056 | 1057 |
'Dial command missing in kivitendo configuration\'s [cti] section' => 'Wählbefehl fehlt im Abschnitt [cti] der kivitendo-Konfiguration', |
1057 | 1058 |
'Difference' => 'Differenz', |
1058 | 1059 |
'Dimensions' => 'Abmessungen', |
... | ... | |
2025 | 2026 |
'Mobile' => 'Mobiltelefon', |
2026 | 2027 |
'Mobile1' => 'Mobil 1', |
2027 | 2028 |
'Mobile2' => 'Mobil 2', |
2029 |
'Modal Test' => 'Modals-Test', |
|
2028 | 2030 |
'Model' => 'Lieferanten-Art-Nr.', |
2029 | 2031 |
'Model (with X being a number)' => 'Lieferanten-Art-Nr. (X ist eine fortlaufende Zahl)', |
2030 | 2032 |
'Modification date' => 'Änderungsdatum', |
... | ... | |
2345 | 2347 |
'Part Notes' => 'Bemerkungen', |
2346 | 2348 |
'Part Number' => 'Artikelnummer', |
2347 | 2349 |
'Part Number missing!' => 'Artikelnummer fehlt!', |
2350 |
'Part Test' => '', |
|
2348 | 2351 |
'Part Type' => 'Artikel-Typ', |
2349 | 2352 |
'Part Unit' => 'Einheit', |
2350 | 2353 |
'Part classifications' => 'Artikel-Klassifizierungen', |
... | ... | |
2927 | 2930 |
'Section/Function block actions' => 'Abschnitts-/Funktionsblockaktionen', |
2928 | 2931 |
'Sections' => 'Abschnitte', |
2929 | 2932 |
'Sections that are not assigned to any of the items above will be added as new positions.' => 'Abschnitte, die keiner der oben aufgeführten Positionen zugeordnet sind, werden als neue Positionen ergänzt.', |
2933 |
'See various menu entries intended for developers' => 'Entwickler-Tools anzeigen', |
|
2930 | 2934 |
'Select' => 'auswählen', |
2931 | 2935 |
'Select Mulit-Item Options' => 'Multi-Treffer Auswahlliste', |
2932 | 2936 |
'Select a Customer' => 'Endkunde auswählen', |
menus/mobile/00-erp.yaml | ||
---|---|---|
13 | 13 |
- id: component_test |
14 | 14 |
name: Component Test |
15 | 15 |
order: 200 |
16 |
access: developer |
|
16 | 17 |
params: |
17 | 18 |
action: MaterializeTest/component |
18 | 19 |
- id: modal_test |
19 | 20 |
name: Modal Test |
20 | 21 |
order: 300 |
22 |
access: developer |
|
21 | 23 |
params: |
22 | 24 |
action: MaterializeTest/modal |
menus/user/00-erp.yaml | ||
---|---|---|
1537 | 1537 |
order: 700 |
1538 | 1538 |
params: |
1539 | 1539 |
action: LoginScreen/logout |
1540 |
|
|
1541 |
- id: develop |
|
1542 |
name: Developer Tools |
|
1543 |
icon: developer |
|
1544 |
order: 1200 |
|
1545 |
access: developer |
|
1546 |
- parent: develop |
|
1547 |
id: part_test |
|
1548 |
name: Part Test |
|
1549 |
access: developer |
|
1550 |
icon: part |
|
1551 |
order: 100 |
|
1552 |
params: |
|
1553 |
action: Part/test_page |
sql/Pg-upgrade2-auth/right_develop.sql | ||
---|---|---|
1 |
-- @tag: right_develop |
|
2 |
-- @description: Recht für Entwickler |
|
3 |
-- @depends: release_3_5_6_1 |
|
4 |
-- @locales: See various menu entries intended for developers |
|
5 |
|
|
6 |
INSERT INTO auth.master_rights (position, name, description, category) |
|
7 |
VALUES ((SELECT position + 20 FROM auth.master_rights WHERE name = 'admin'), |
|
8 |
'developer', |
|
9 |
'See various menu entries intended for developers', |
|
10 |
FALSE); |
Auch abrufbar als: Unified diff
Developer Recht und neue Menüeinträge für Testcontroller