fix details pane version link leads to 403 when no permissions on parent project

[``* `#15274` fix details pane version link leads to 403 when no permissions on parent project``](http://www.openproject.org/work_packages/15274)