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

            Bug ID: 29889
           Summary: Incorrect library check in patron message deletion
                    logic
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
        Depends on: 21757

If you DON'T have AllowAllMessageDeletion enabled, message deletion is supposed
to be limited by library: Staff from the same library can delete each other's
messages, but not messages left by other libraries.

At some point the logic around the display of the "Delete" link got changed, I
think by Bug 21757. Now the check compares the branchcode of the staff member
who left the message with the branchcode of the patron:

patron_message.branchcode == patron.branchcode

I think this is meant to compare patron_message.branchcode to the logged-in
library.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21757
[Bug 21757] Patron detail script (moremember.pl) cleanup
-- 
You are receiving this mail because:
You are the assignee for the bug.
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/

Reply via email to