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

--- Comment #18 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 206272
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206272&action=edit
Bug 35837: Add a REST API for managing installed plugins

Adds GET /api/v1/plugins (list installed plugins), GET .../config
(permissions/config for the plugin manager UI), PUT
/api/v1/plugins/{plugin_class} (enable/disable), DELETE (uninstall),
and POST /api/v1/plugins/upload (install from an uploaded .kpz) and
POST /api/v1/plugins (install by kpz_url, e.g. from the plugin-store
discovery listing). Both install routes go through the previous
commit's Koha::Plugins::Install, so plugins_restricted,
PluginStoreMinimumLevel, and signature verification apply regardless
of which route a plugin came in through. An unsigned install that
isn't explicitly confirmed (confirm_unsigned) returns a distinct error
code so the UI can prompt rather than silently failing or silently
allowing it.

No standalone test plan: no UI calls this yet (see the next commit).
`prove t/db_dependent/api/v1/plugins.t` covers it directly.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to