Bug 31227

Summary: Provide option to protect user permissions on patron import
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 21.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Aleisha Amohia 2022-07-24 23:24:32 UTC
When importing patrons, you can match on cardnumber or username, then preserve/protect selected fields if there's a match.

However it doesn't appear that user permissions are protected if there is a match - these get reset/wiped.

There should be an option to protect user permissions if a match is found.
Comment 1 Katrin Fischer 2022-07-25 20:47:32 UTC
Hi Aleisha, 

I am not sure which version it was added in, but there is now a feature to preserve values on import that includes "System permissions" (flags). You can find it on the patron import page collapsed as "Preserve existing values".

I think this should work or would be a bug otherwise - do you agree?
Comment 2 Aleisha Amohia 2022-07-25 20:55:43 UTC
Yes that sounds good! Will close this