Revision e18af94c
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
locale/de/all | ||
---|---|---|
3840 | 3840 |
'correction' => 'Korrektur', |
3841 | 3841 |
'correction_br' => 'Korr.', |
3842 | 3842 |
'cp_greeting to cp_gender migration' => 'Datenumwandlung von Titel nach Geschlecht (cp_greeting to cp_gender)', |
3843 |
'create and edit shopparts' => '', |
|
3844 |
'create and edit webshops' => '', |
|
3843 | 3845 |
'customer' => 'Kunde', |
3844 | 3846 |
'customer_list' => 'kundenliste', |
3845 | 3847 |
'dated' => 'datiert', |
... | ... | |
3890 | 3892 |
'general_ledger_list' => 'Buchungsjournal', |
3891 | 3893 |
'generate cb/ob transactions for selected charts' => 'Start-/Endbuchungen für ausgewählte Konten erstellen', |
3892 | 3894 |
'generated Files' => 'Erzeugte Dokumente', |
3895 |
'get shoporders' => '', |
|
3893 | 3896 |
'gobd-#1-#2.zip' => 'gobd-#1-#2.zip', |
3894 | 3897 |
'h' => 'h', |
3895 | 3898 |
'history search engine' => 'Historien Suchmaschine', |
locale/en/all | ||
---|---|---|
3839 | 3839 |
'correction' => '', |
3840 | 3840 |
'correction_br' => 'correction', |
3841 | 3841 |
'cp_greeting to cp_gender migration' => '', |
3842 |
'create and edit shopparts' => '', |
|
3843 |
'create and edit webshops' => '', |
|
3842 | 3844 |
'customer' => '', |
3843 | 3845 |
'customer_list' => '', |
3844 | 3846 |
'dated' => '', |
... | ... | |
3889 | 3891 |
'general_ledger_list' => '', |
3890 | 3892 |
'generate cb/ob transactions for selected charts' => '', |
3891 | 3893 |
'generated Files' => '', |
3894 |
'get shoporders' => '', |
|
3892 | 3895 |
'gobd-#1-#2.zip' => '', |
3893 | 3896 |
'h' => '', |
3894 | 3897 |
'history search engine' => '', |
sql/Pg-upgrade2-auth/webshop_api_rights.pl | ||
---|---|---|
1 | 1 |
# @tag: webshop_api_rights |
2 | 2 |
# @description: Setzt die Rechte Shopconfig, Shopbestellungen, Shopartikel, per Default erlaubt |
3 | 3 |
# @depends: release_3_5_0 |
4 |
package SL::DBUpgrade2::Auth::webshop_api_rights; |
|
4 |
# @locales: create and edit shopparts |
|
5 |
# @locales: get shoporders |
|
6 |
# @locales: create and edit webshops |
|
7 |
|
|
8 |
package sl::dbupgrade2::auth::webshop_api_rights; |
|
5 | 9 |
|
6 | 10 |
use strict; |
7 | 11 |
use utf8; |
8 | 12 |
|
9 |
use parent qw(SL::DBUpgrade2::Base);
|
|
13 |
use parent qw(sl::dbupgrade2::base);
|
|
10 | 14 |
|
11 |
use SL::DBUtils;
|
|
15 |
use sl::dbutils;
|
|
12 | 16 |
|
13 | 17 |
sub run { |
14 | 18 |
my ($self) = @_; |
15 | 19 |
|
16 |
$self->db_query("INSERT INTO auth.master_rights (position, name, description) VALUES ( 550, 'shop_part_edit', 'Create and edit shopparts')");
|
|
17 |
$self->db_query("INSERT INTO auth.master_rights (position, name, description) VALUES ( 950, 'shop_order', 'Get shoporders')");
|
|
18 |
$self->db_query("INSERT INTO auth.master_rights (position, name, description) VALUES ( 4300, 'edit_shop_config', 'Create and edit webshops')");
|
|
20 |
$self->db_query("insert into auth.master_rights (position, name, description) values ( 550, 'shop_part_edit', 'create and edit shopparts')");
|
|
21 |
$self->db_query("insert into auth.master_rights (position, name, description) values ( 950, 'shop_order', 'get shoporders')");
|
|
22 |
$self->db_query("insert into auth.master_rights (position, name, description) values ( 4300, 'edit_shop_config', 'create and edit webshops')");
|
|
19 | 23 |
|
20 | 24 |
my $groups = $main::auth->read_groups(); |
21 | 25 |
|
Auch abrufbar als: Unified diff
WebshopApi: Übersetzungen Rechte Adminbereich