Bug 35011

Summary: Allow system administrators control over whether plugins can be uninstalled
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Plugin architectureAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 25672    
Bug Blocks:    
Attachments: Bug 35011: Record interface used to install a plugin

Description Martin Renvoize (ashimema) 2023-10-09 11:48:31 UTC
We should record what method was used to install a plugin and then allow administrators to control whether command line installed plugins can be removed using the browser or not.
Comment 1 Martin Renvoize (ashimema) 2023-10-09 12:05:52 UTC
Created attachment 156741 [details] [review]
Bug 35011: Record interface used to install a plugin

This patch adds a record of the interface used when installing a plugin
for the first time. We utilise the existing plugin_data table and add a
new __INSTALLED_VIA__ system key to store the data.