[Koha-bugs] [Bug 25411] Plugin routes cannot have annonymous access

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 16 06:52:31 CEST 2020


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #104969|0                           |1
        is obsolete|                            |

--- Comment #5 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 104979
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104979&action=edit
Bug 25411: Add special handling for public plugin routes

This patch implements the required logic in the API code so plugins are
not affected by the new RESTPublicAnonymousRequests system preference.
It is up to the plugin develpers to handle this

To test:
1. Apply the tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t
=> FAIL: Notice the tests fail
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass! Yay! Not bad for a friday evening!
5. Sign off :-D

Sponsored-by: ByWater Solutions
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list