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

Ayoub Glizi-Vicioso <[email protected]> changed:

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

--- Comment #63 from Ayoub Glizi-Vicioso <[email protected]> ---
Created attachment 192506
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192506&action=edit
Bug 20956: BorrowersLog is not logging permission changes

Changes to permissions are not logged in the Koha action_logs, making it
impossible to trace changes to staff permissions. This patch ensures that all
changes to permissions are logged.

Test plan:

    1. Go to a staff interface
    2. Search for a patron and change their permissions (note their
borrowernumber)
    3. Go to tools/Log viewer
    4. Filter by Module = Patrons, Object = <borrowernumber>.
    5. Click on submit
       ==> No permission changes are logged.
    6. Apply the patch
    7. Repeat step 1, 2, 3, 4, 5
       ==> Permission changes are now logged
    8. Check that the diff column contains the change:
       select diff from action_logs where object= <borrowernumber> order by
action_id desc limit 1;

Signed-off-by: David Nind <[email protected]>
Signed-off-by: Kyle M Hall <[email protected]>
Signed-off-by: Martin Renvoize <[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/

Reply via email to