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

--- Comment #2 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 207007
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207007&action=edit
Bug 43666: Add plugins-sti-toggle.pl controller

Adds plugins/plugins-sti-toggle.pl: loads the requested plugin, calls
set_sti_registration_allowed_for($target, $allowed), and redirects
back to the plugin list.

CSRF-protected (op=cud-toggle + validated csrf_token). The class load
and toggle call are eval-wrapped with a can() guard, so an unloadable
or unrelated class logs a warning and falls through to the redirect
instead of a raw 500.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Co-Authored-By: Claude Fable 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