[Koha-bugs] [Bug 20256] Add ability to limit editing of items to home library or library group
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Apr 3 13:33:36 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20256
--- Comment #343 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Ok, I misread the database update, there actually is an update!
+ $dbh->do(q{
+ INSERT INTO user_permissions ( borrowernumber, module_bit, code )
+ SELECT borrowernumber, '9', 'edit_any_item'
+ FROM user_permissions
+ WHERE module_bit = '9'
+ AND code = 'edit_items'
+ });
Still wondering if we could get around the 2 permissions for simple item edit
somehow... but maybe not.
Because: if we implemented my suggestion 2) libraries wanting to limit on home
branch for editing would have to set up a group for each branch, which is also
not nice.
I'll test more!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list