Rechte: SL::Auth::all_rights() -> $::auth->all_rights
[kivitendo-erp.git] / SL / Controller / Admin.pm
index c2d9f29..2fb7de6 100644 (file)
@@ -86,7 +86,7 @@ sub action_create_auth_tables {
     SL::DB::AuthGroup->new(
       name        => t8('Full Access'),
       description => t8('Full access to all functions'),
-      rights      => [ map { SL::DB::AuthGroupRight->new(right => $_, granted => 1) } SL::Auth::all_rights() ],
+      rights      => [ map { SL::DB::AuthGroupRight->new(right => $_, granted => 1) } $::auth->all_rights ],
     )->save;
   }