[Koha-bugs] [Bug 18787] Create permission profiles for staff users

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 1 13:17:48 CET 2024


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

--- Comment #5 from Alexander Wagner <alexander.wagner at desy.de> ---
Diving into the mentioned plugin I found indeed that it assumes each patron
gains only one set of permissions (iow you can not be in more than one group).
For this reason I came up with a small perl script than will handle permission
setup for j2k. This script basically reads an input file giving the name of the
role someone should have and her cardnumber. It will then create a patron list
for the roles, add patrons to the list (for easy reference) and add permissions
accordingly.

This script could need a bit of improvement for general use. E.g. an immediate
thing would be to move the hard coded hash for permissions to some source read
in, and probably for koha purists the idea to have files around that implement
the functions are not that common. (It's just easy for me to handle those files
in git within j2k.)

But maybe one could build upon it.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list