Form: parse_html_template: AUTH_RIGHTS_ syntax entfernt
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 11 Dec 2015 15:13:56 +0000 (16:13 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 11 Dec 2015 15:16:22 +0000 (16:16 +0100)
AUTH.assert im template benutzen bitte.

SL/Form.pm

index 410fdc6..32064f3 100644 (file)
@@ -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;