Revision eea0a76f
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 | ||
---|---|---|
687 | 687 |
'Compare to' => 'Gegenüberstellen zu', |
688 | 688 |
'Complexities' => 'Komplexitätsgrade', |
689 | 689 |
'Complexity' => 'Komplexität', |
690 |
'Component Test' => 'Komponententest',
|
|
690 |
'Component Test' => 'Komponenten-Test',
|
|
691 | 691 |
'Configuration' => 'Konfiguration', |
692 | 692 |
'Configuration of individual TODO items' => 'Konfiguration für die einzelnen Aufgabenlistenpunkte', |
693 | 693 |
'Configure' => 'Konfigurieren', |
... | ... | |
1068 | 1068 |
'Details' => 'Details', |
1069 | 1069 |
'Details (one letter abbreviation)' => 'D', |
1070 | 1070 |
'Details: #1' => 'Details: #1', |
1071 |
'Developer Tools' => 'Developer Tools', |
|
1071 | 1072 |
'Dial command missing in kivitendo configuration\'s [cti] section' => 'Wählbefehl fehlt im Abschnitt [cti] der kivitendo-Konfiguration', |
1072 | 1073 |
'Difference' => 'Differenz', |
1073 | 1074 |
'Dimensions' => 'Abmessungen', |
... | ... | |
2044 | 2045 |
'Mobile' => 'Mobiltelefon', |
2045 | 2046 |
'Mobile1' => 'Mobil 1', |
2046 | 2047 |
'Mobile2' => 'Mobil 2', |
2047 |
'Modal Test' => 'Modals Test',
|
|
2048 |
'Modal Test' => 'Modals-Test',
|
|
2048 | 2049 |
'Model' => 'Lieferanten-Art-Nr.', |
2049 | 2050 |
'Model (with X being a number)' => 'Lieferanten-Art-Nr. (X ist eine fortlaufende Zahl)', |
2050 | 2051 |
'Modification date' => 'Änderungsdatum', |
... | ... | |
2366 | 2367 |
'Part Notes' => 'Bemerkungen', |
2367 | 2368 |
'Part Number' => 'Artikelnummer', |
2368 | 2369 |
'Part Number missing!' => 'Artikelnummer fehlt!', |
2370 |
'Part Test' => '', |
|
2369 | 2371 |
'Part Type' => 'Artikel-Typ', |
2370 | 2372 |
'Part Unit' => 'Einheit', |
2371 | 2373 |
'Part classifications' => 'Artikel-Klassifizierungen', |
... | ... | |
2955 | 2957 |
'Section/Function block actions' => 'Abschnitts-/Funktionsblockaktionen', |
2956 | 2958 |
'Sections' => 'Abschnitte', |
2957 | 2959 |
'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.', |
2960 |
'See various menu entries intended for developers' => 'Entwickler-Tools anzeigen', |
|
2958 | 2961 |
'Select' => 'auswählen', |
2959 | 2962 |
'Select Mulit-Item Options' => 'Multi-Treffer Auswahlliste', |
2960 | 2963 |
'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/components |
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_7 |
|
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