Bug 36971

Summary: Upload pluglin not shows
Product: Koha Reporter: Vivek <vivek.yadava>
Component: Plugin architectureAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook
Version: 23.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Vivek 2024-05-27 23:05:38 UTC
In the version Koha 23.11.05 upload plugin options is not showing.
Comment 1 David Cook 2024-05-28 00:08:28 UTC
This is by design for security reasons.

If you want to allow web upload, you'll need to ensure there is a "plugins_restricted" element set to 0 in your koha-conf.xml

Alternatively, you can use the "plugin_repos", or install plugins via the command line.
Comment 2 Katrin Fischer 2024-05-28 07:23:30 UTC
(In reply to David Cook from comment #1)
> This is by design for security reasons.
> 
> If you want to allow web upload, you'll need to ensure there is a
> "plugins_restricted" element set to 0 in your koha-conf.xml
> 
> Alternatively, you can use the "plugin_repos", or install plugins via the
> command line.

It looks like it deactivates plugin upload for people updating - was this the intended effect or could we fix it?
Comment 3 David Cook 2024-05-29 02:39:30 UTC
(In reply to Katrin Fischer from comment #2)
> (In reply to David Cook from comment #1)
> > This is by design for security reasons.
> > 
> > If you want to allow web upload, you'll need to ensure there is a
> > "plugins_restricted" element set to 0 in your koha-conf.xml
> > 
> > Alternatively, you can use the "plugin_repos", or install plugins via the
> > command line.
> 
> It looks like it deactivates plugin upload for people updating - was this
> the intended effect or could we fix it?

I don't think so, since koha-conf.xml doesn't change when updating/upgrading. 

In fact, koha-testing-docker hasn't included "plugins_restricted" yet in its default koha-conf.xml and you can see in ktd that it allows plugin upload.