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

            Bug ID: 38446
           Summary: Permission error for additional fields
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: ERM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected],
                    [email protected],
                    [email protected],
                    [email protected]

With a "normal" libarian account (not superlibrarian) it is not possible to see
or edit additional fields in erm . 
The error message "Something went wrong: Error: Authorization failure. Missing
required permission(s)." appears.

The patron would need the manage_additional_fields permissions, otherwise the
API blocks the request.

But the manage_additional_fields permissions should not be necessary as it is
for administation.

To recreate:
1. Log in as superlibrarian
2. Activate ERM
3. Add a new additional field for Licences under
cgi-bin/koha/admin/additional-fields.pl
4. Go to ERM Module
5. Add a Licence and use the new additional field
6. Search for a user, for example borrowernumber=17
7. Give permissions for erm , acquisition and catalogue (staff access)
8. Log in with this account
9. Go to ERM Module
10. Try to edit the licence with the additional field you have created in step
5
Check that the error message mentioned above appears

-- 
You are receiving this mail because:
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