Pushing Ctrl to silverstripe Controllerstack an set Ctrl Response

An logged in member without permissions to view a file is getting following error: "Fatal error: Call to a member function setStatusCode() on a non-object in ...\framework\security\Security.php on line 233"