[Koha-bugs] [Bug 9065] New: Upload local cover image permission implementation error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 13 03:28:34 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9065

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 9065
          Assignee: gmcharlt at gmail.com
           Summary: Upload local cover image permission implementation
                    error
          Severity: blocker
    Classification: Unclassified
                OS: All
          Reporter: Andy at Andy.COM.PT
          Hardware: All
            Status: NEW
           Version: 3.8
         Component: Tools
           Product: Koha

If a staff user IS NOT "superlibrarian", even if having
"upload_local_cover_images", trying to use the "Tools -> Upload local cover
image" will fail with "You do not have permissions [...]".

Bug is found in /usr/share/koha/intranet/cgi-bin/tools/upload-cover-image.pl

The following line (64) must be changed:
>>> flagsrequired   => { tools => 'upload_cover_images' },
To:
>>> flagsrequired   => { tools => 'upload_local_cover_images' },

This will solve the problem.

This appears to be the only place "upload_cover_images" bug exists (please also
confirm).

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


More information about the Koha-bugs mailing list