[Koha-bugs] [Bug 25672] Administrators should be able to disable client-side plugin upload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 25 16:51:29 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25672

--- Comment #30 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Mind if I amend this from 'enable_plugin_browser_upload' to
'restrict_to_plugin_repos'.

My thinking is, instead of a simple on/off switch for uploads we set it to only
allow uploads from those repositories listed in plugin_repos.  Then if none are
listed we disable upload entirely, if some are listed the search and install
button works nicely or you can just not restrict and get any uploads.

I think we could fairly trivially achieve this be looking at the uploadlocation
parameter and checking it's content against the organisation part of the
plug_repos config variable.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list