pluginsGLPI / datainjection

Plugin to import CSV files into GLPI
http://plugins.glpi-project.org/#/plugin/datainjection
GNU General Public License v2.0
53 stars 50 forks source link

fix(Model): fix model visibility #385

Closed stonebuzz closed 6 months ago

stonebuzz commented 6 months ago

When the user does not have a model (private or public), the plugin loads all models.

This PR fixes this problem by adding a where clause that will force a query to return no results (fake comparison)

Fix https://github.com/pluginsGLPI/datainjection/issues/352