Revision 226f490b
Von Werner Hahn vor etwa 7 Jahren hinzugefügt
locale/en/all | ||
---|---|---|
711 | 711 |
'Create and edit sales delivery orders' => '', |
712 | 712 |
'Create and edit sales orders' => '', |
713 | 713 |
'Create and edit sales quotations' => '', |
714 |
'Create and edit shopparts' => 'Create and edit the parts assigned to a web shop', |
|
714 | 715 |
'Create and edit vendor invoices' => '', |
716 |
'Create and edit webshops' => '', |
|
715 | 717 |
'Create and print all invoices' => '', |
716 | 718 |
'Create and print invoices' => '', |
717 | 719 |
'Create and print invoices for all delivery orders matching the filter' => '', |
... | ... | |
1451 | 1453 |
'Generate and print sales delivery orders' => '', |
1452 | 1454 |
'Generic Tax Report' => '', |
1453 | 1455 |
'Germany' => '', |
1456 |
'Get shoporders' => 'Get and process orders from a web shop', |
|
1454 | 1457 |
'Git revision: #1, #2 #3' => '', |
1455 | 1458 |
'Given Name' => '', |
1456 | 1459 |
'Gldate' => 'Entry Date', |
... | ... | |
3839 | 3842 |
'correction' => '', |
3840 | 3843 |
'correction_br' => 'correction', |
3841 | 3844 |
'cp_greeting to cp_gender migration' => '', |
3842 |
'create and edit shopparts' => '', |
|
3843 |
'create and edit webshops' => '', |
|
3844 | 3845 |
'customer' => '', |
3845 | 3846 |
'customer_list' => '', |
3846 | 3847 |
'dated' => '', |
... | ... | |
3891 | 3892 |
'general_ledger_list' => '', |
3892 | 3893 |
'generate cb/ob transactions for selected charts' => '', |
3893 | 3894 |
'generated Files' => '', |
3894 |
'get shoporders' => '', |
|
3895 | 3895 |
'gobd-#1-#2.zip' => '', |
3896 | 3896 |
'h' => '', |
3897 | 3897 |
'history search engine' => '', |
sql/Pg-upgrade2-auth/webshop_api_rights_2.pl | ||
---|---|---|
1 |
# @tag: webshop_api_rights_2 |
|
2 |
# @description: Setzt die Rechte Shopconfig, Shopbestellungen, Shopartikel, per Default nicht erlaubt |
|
3 |
# @depends: webshop_api_rights |
|
4 |
package SL::DBUpgrade2::Auth::webshop_api_rights_2; |
|
5 |
|
|
6 |
use strict; |
|
7 |
use utf8; |
|
8 |
|
|
9 |
use parent qw(SL::DBUpgrade2::Base); |
|
10 |
|
|
11 |
use SL::DBUtils; |
|
12 |
|
|
13 |
sub run { |
|
14 |
my ($self) = @_; |
|
15 |
|
|
16 |
$self->db_query("UPDATE auth.master_rights SET position = 4250 WHERE name = 'edit_shop_config'"); |
|
17 |
|
|
18 |
my $groups = $main::auth->read_groups(); |
|
19 |
|
|
20 |
foreach my $group (values %{$groups}) { |
|
21 |
$group->{rights}->{shop_part_edit} = 0; |
|
22 |
$group->{rights}->{shop_order} = 0; |
|
23 |
$group->{rights}->{edit_shop_config} = 0; |
|
24 |
$main::auth->save_group($group); |
|
25 |
} |
|
26 |
|
|
27 |
return 1; |
|
28 |
} # end run |
|
29 |
|
|
30 |
1; |
Auch abrufbar als: Unified diff
WebshopApi: Recht Shoperstellen und bearbeiten in richtige Kategorie und
englische Übersetzungen