Koha-clms/installer/data/mysql/atomicupdate
Martin Renvoize e4aecaa519
Bug 10190: Add manage_circ_triggers permission for notice trigger access
Replaces the broad manage_circ_rules permission requirement on the
circulation triggers page with a new dedicated manage_circ_triggers
sub-permission (under parameters, flag 3).

- Add manage_circ_triggers to userpermissions.sql
- Update atomicupdate to add the permission, grant it to existing
  edit_notice_status_triggers users, and remove the old permission
- Update admin/circulation_triggers.pl to require manage_circ_triggers
- Add manage_circ_triggers as an OR option on all circulation_rules
  API endpoints (GET/PUT /circulation_rules, /kinds, /config)
- Restrict manage_circ_triggers users in the API controller to
  overdue_* rule names only on write

Sponsored-by: Glasgow Colleges Library Group <https://library.cityofglasgowcollege.ac.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-10 14:25:09 +00:00
..
README Bug 39392: Fix typos in atomicupdate README 2025-04-14 08:51:02 +02:00
bug_10190.pl Bug 10190: Add manage_circ_triggers permission for notice trigger access 2026-09-10 14:25:09 +00:00
skeleton.pl Bug 36868: Add system preference AutoDeleteFromCartWhenHoldPlaced 2026-09-10 14:24:03 +00:00

README

Please put your database revision files in this folder.
The Release Manager will remove them from here when pushing your patches.

To use the skeleton.pl for your update:

% cp installer/data/mysql/atomicupdate/skeleton.pl
installer/data/mysql/atomicupdate/bug_XXXXX.pl

and put your modifications in where noted.