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

            Bug ID: 39650
           Summary: Updating the protected flag is not possible when
                    creating a new patron
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

When creating a new patron, it is not possible to update the protected flag
even when logged in as a superlibrarian.
It is still possible to update this flag when updating an existing patron.


This seams liked to bug 36085. The check to set the authorization flag
CanUpdateProtectPatron (witch restrict the update to only superlibrarian) is
itself in a check for op 'edit_form', 'cud-save' or 'duplicate'. 
The flag CanUpdateProtectPatron is not passed to the template when creating a
new user as the op is 'add_form' even when logged in as a superlibrarian.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to