    public function __construct(Project $project)
    {
        parent::__construct('Project #' . $project->getID() . ' is not active and is not a template');
        $this->project = $project;
    }
The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.