[Koha-bugs] [Bug 15522] New interface for revamped circulation rules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 27 04:15:49 CET 2020


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

Lari Taskula <lari.taskula at hypernova.fi> changed:

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

--- Comment #115 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 101947
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101947&action=edit
Bug 15522: (follow-up) Fix 400 errors in circ_rules.t

Commit "Bug 15522: Fix permission name manage_circ_rules_from_any_libraries"
renames a permission by one that negates the previous.

However the commit above incorrectly negates more than is supposed to.

The test wants to check whether unauthorized and restricted user can store
circulation rules.

The libriarian is restricted (to their homebranch) when they are circ rules
authorized (by "manage_circ_rules" permission) but do not have permission
"manage_circ_rules_from_any_libraries".

To test:
1. prove t/db_dependent/api/v1/circ_rules.t

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


More information about the Koha-bugs mailing list