[Bug 21549] New: Lock expired patron accounts

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 21549] New: Lock expired patron accounts

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21549

            Bug ID: 21549
           Summary: Lock expired patron accounts
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]

See also bug 21336.
We could do the same for expired patron accounts. We would need an additional
pref to define the number of days to wait before locking the account. After
that they run in the same workflow as the unsubscribe requests in 21336 (lock,
anonymize, delete).

Would it be useful?

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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 | Threaded
Open this post in threaded view
|

[Bug 21549] Lock expired patron accounts

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21549

--- Comment #1 from Marcel de Rooy <[hidden email]> ---
Essentially, we need something like:

Koha::Patrons->search_expired({ days => $days })->search({ login_attempts => {
'!=' => -1 } })->lock({ remove => 1, verbose => $verbose });

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://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/