From: Sven Schöling Date: Fri, 11 Dec 2015 15:13:56 +0000 (+0100) Subject: Form: parse_html_template: AUTH_RIGHTS_ syntax entfernt X-Git-Tag: release-3.4.1~529 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ed9ec0633fc6e27986d40b75362f459d10872d79;p=kivitendo-erp.git Form: parse_html_template: AUTH_RIGHTS_ syntax entfernt AUTH.assert im template benutzen bitte. --- diff --git a/SL/Form.pm b/SL/Form.pm index 410fdc687..32064f3c0 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -628,12 +628,6 @@ sub _prepare_html_template { $additional_params->{LXDEBUG} = $::lxdebug; $additional_params->{MYCONFIG} = \%::myconfig; - if ($main::auth && $main::auth->{RIGHTS} && $main::auth->{RIGHTS}->{$self->{login}}) { - while (my ($key, $value) = each %{ $main::auth->{RIGHTS}->{$self->{login}} }) { - $additional_params->{"AUTH_RIGHTS_" . uc($key)} = $value; - } - } - $main::lxdebug->leave_sub(); return $file;