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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 15 13:12:31 CEST 2020


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #138 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 106925
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106925&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