function isPluginAllowedForProject($plugin, $projectId)
 {
     if ($this->isProjectPluginRestricted($plugin)) {
         return $this->plugin_factory->isPluginAllowedForProject($plugin, $projectId);
     } else {
         return true;
     }
 }