Language: PHP
Label: vulnerable
CWE: CWE-862 \u2014 Missing Authorization
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

Code:
            $artifact               = $art_factory->getArtifactById($artifact_link->getArtifactId());
            $this->artifact_links[] = new ArtifactInTypeTablePresenter(
                $artifact,
                $html_classes,
                $field,
                $this->are_links_deletable,
            );
        }