From a8dac8db56dfe7c9050b0383cd65c37ca86a292c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 25 Mar 2019 13:11:47 +0100 Subject: [PATCH] =?utf8?q?Falsches=20Recht=20f=C3=BCr=20Kreditorenbeleg=20?= =?utf8?q?=C3=BCberpr=C3=BCft?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ap.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 559154854..49f6f7a63 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1201,7 +1201,7 @@ sub setup_ap_search_action_bar { sub setup_ap_transactions_action_bar { my %params = @_; - my $may_edit_create = $::auth->assert('vendor_invoice_edit', 1); + my $may_edit_create = $::auth->assert('ap_transactions', 1); for my $bar ($::request->layout->get('actionbar')) { $bar->add( @@ -1234,7 +1234,7 @@ sub setup_ap_display_form_action_bar { my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id}); my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap'); - my $may_edit_create = $::auth->assert('vendor_invoice_edit', 1); + my $may_edit_create = $::auth->assert('ap_transactions', 1); my $has_sepa_exports; if ($::form->{id}) { -- 2.20.1