https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38340
--- Comment #55 from Tomás Cohen Arazi (tcohen) <[email protected]> --- Created attachment 181392 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181392&action=edit Bug 38340: Rewrite controllers This patch splits the controller in two: * A controller for staff users use * An unprivileged access controller The public one makes use of the state-of-the-art in Koha for public endpoints, using the `$c->auth->public` validation helper and leaving the (newly added) public path spec with no special permissions requirements. The staff-oriented endpoint gets the right permissions added (at least those used in the main `/ill/requests` endpoint. TODO: Tests need to be split for both controllers, and adjusted. TODO: The OPAC changes need to be redone using the public endpoint. TODO: The OPAC table should use kohaTable. Signed-off-by: Tomas Cohen Arazi <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
