Re: [Koha] How to copy patron permissions?

2024-01-22 Thread Eric Phetteplace
Hi all, We use Christopher's "copy permissions" to JS and I just wanted to add a note for those running into trouble under 23.05: the "save" button has changed its classes which causes the 20.x version of the script from the wiki to fail. If you change this line: $('#pat_member-flags

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Mike Lake
Hi Michael Kuhn notes: As I have written in an earlier post of this thread the current library is trying to avoid non-Koha-standard methods like (ever-changing) external Javascript or plugins. From the perspective of a sys admin that needs to maintain and upgrade a Koha instance, the

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Michael Kuhn
Hi Christopher You wrote: > I've had some jQuery in the Koha library for quite a while. You should > take a look at https://wiki.koha-community.org/wiki/JQuery_Library#Add_clear_and_preset_permission_buttons.2C_and_a_copy_button_to_user_permissions_page_.28v20.x.29 > > There are 3 versions of

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread BRANNON, CHRISTOPHER
: Michael Kuhn To: Koha Subject: [Koha] How to copy patron permissions? Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed Hi Is it possible to copy the permissions of another patron when creating a new one? I always thought this would happen when copying/duplicating an existing

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Michael Sutherland
Hi Michael! We've been using that plugin since January 2019, implemented by ByWater Solutions, so it appears safe and has not been an issue. However, if your policy is to only use what has been vetted by the community in the Q/A process and a part of Koha's code, that's fair. Sincerely, Michael

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Michael Kuhn
Hi Katrin You wrote: > this will work as long as you only assign 'module/top level > permissions. > As soon as you only assign some sub-permissions of a module to a user, > you'll also need the entries from the user_permissions table. Yes, you are right. To circumvent this problem it is

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Michael Kuhn
Hi Katrin You wrote: > this will work as long as you only assign 'module/top level > permissions. > As soon as you only assign some sub-permissions of a module to a user, > you'll also need the entries from the user_permissions table. Thanks for this important hint! Yes, in this case it is not

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Katrin Fischer
Hi Michael, this will work as long as you only assign 'module/top level permissions. As soon as you only assign some sub-permissions of a module to a user, you'll also need the entries from the user_permissions table. Hope that helps, Katrin On 27.04.22 12:31, Michael Kuhn wrote: Hi Thanks

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Michael Kuhn
Hi Thanks to all who answered my e-mail concerning patron permissions! Raymund Delahunty, Owen Leonard, David Nind, Joel Coehoorn, Michael Sutherland and Katrin Fischer! I have saved all the information you gave me for other uses cases. But in our current library we are hesitating to use

Re: [Koha] How to copy patron permissions?

2022-04-27 Thread Katrin Fischer
Hi all, I think the feature Michael describes is implemented using this plugin: https://github.com/bywatersolutions/koha-plugin-batch-permissions-modifier Hope this helps, Katrin On 26.04.22 23:47, Michael Sutherland wrote: Greetings! I do not believe that's correct. You may create a

Re: [Koha] How to copy patron permissions?

2022-04-26 Thread Michael Sutherland
Greetings! I do not believe that's correct. You may create a patron list with specific permissions for that group; when you add the patron to that list, then they'll have whatever permissions you assigned to that list. I do this for staff and student workers who have different permissions. Our

Re: [Koha] How to copy patron permissions?

2022-04-26 Thread Coehoorn, Joel
Seems like copying permissions is not the right solution here, but rather defining roles and placing patrons (staff) into those roles would be a better fit. Sadly, I don't think this is currently supported, either. Joel Coehoorn Director of Information Technology York College of Nebraska On

Re: [Koha] How to copy patron permissions?

2022-04-26 Thread David Nind
Also, there are a couple of plugins listed here that may be useful to look at: https://wiki.koha-community.org/wiki/Koha_plugins#Patron_plugins David ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe:

Re: [Koha] How to copy patron permissions?

2022-04-26 Thread David Nind
Hi Michael. At the recent koha-US Web Development Group Special Interest Group meeting there was some discussion about using some JavaScript to do this. Resources: - Meeting recording: https://www.youtube.com/watch?v=3HBpWHmyLKU (from about the 1:00 minute to 6:00 minutes) - JS:

Re: [Koha] How to copy patron permissions?

2022-04-26 Thread Owen Leonard
> Is it possible to copy the permissions of another patron when creating a > new one? Not exactly what you're looking for, but your question prompted me to start working on Bug 30623, "Copy permissions from one user to another" (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30623).

Re: [Koha] How to copy patron permissions?

2022-04-26 Thread Raymund Delahunty
] How to copy patron permissions? Hi Is it possible to copy the permissions of another patron when creating a new one? I always thought this would happen when copying/duplicating an existing patron. But when I actually tried it today the permissions were not there with the new patron and I had

[Koha] How to copy patron permissions?

2022-04-26 Thread Michael Kuhn
Hi Is it possible to copy the permissions of another patron when creating a new one? I always thought this would happen when copying/duplicating an existing patron. But when I actually tried it today the permissions were not there with the new patron and I had to set them manually. Best