]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/Part.pm
Neues Benutzer-Recht Erzeugnisbestandteile editieren
[mfinanz.git] / SL / Controller / Part.pm
index f152e084475c0fd16635c88b175b179f445f250e..d27304029366ed90c63c67330eaa2919e142ff42 100644 (file)
@@ -813,7 +813,7 @@ sub init_part {
 
 sub init_orphaned {
   my ($self) = @_;
-  return $self->part->orphaned;
+  return $::auth->assert('assembly_edit', 1) // $self->part->orphaned;
 }
 
 sub init_models {