[QGIS-Developer] pyqgis - canUninstallPlugin

Régis Haubourg regis.haubourg at gmail.com
Mon Oct 14 00:26:58 PDT 2019


Hi Jacky,
just put your plugin dir on a readonly file system.
Régis

Le lun. 14 oct. 2019 à 09:25, Etienne Trimaille
<etienne.trimaille at gmail.com> a écrit :
>
> Hi,
>
> I'm adding back the QGIS dev mailing list.
>
> Le lun. 14 oct. 2019 à 08:29, VOLPES-EXT, Jacky <Jacky.VOLPES-EXT at canal-de-provence.com> a écrit :
>>
>> I didn’t share any code because I don’t know how to be more clear… :/
>
>
> You said your code is not working and/or not called. So without seing it, it was confusing ;-)
>
>>
>> The objective would be to prevent the plugin to be uninstalled in our specific company context :
>>
>> I want every user to have a specific set of plugins already installed in their QGis environment so they don’t have to manage installations or updates of plugins (thanks to the QGIS_PLUGINPATH environment var, where I will install and update the plugins for them).
>>
>>
>>
>> But as a result, if one user decides to uninstall a plugin, it will be uninstalled for every user.
>
>
> Seems weird to change every plugin you are going to install for them by adding this flag.
> So you are using a network share for all installed plugins?
> Why not a read only directory?
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list