X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e0e75548260827661474c54bf88c0ae74799c0b6..f30f0cce6468f895c7d59f3aab6e2a5731fc9705:/SL/Controller/Part.pm diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index f152e0844..d27304029 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -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 {