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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 9 17:24:43 CET 2013


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

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14486|0                           |1
        is obsolete|                            |

--- Comment #2 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 14501
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14501&action=edit
Bug 9065 - set correct permission for upload local cover image

This patch fixes a problem where if a staff user has the
upload_local_cover_images permission (and is not a superlibrarian
and does not have all of the tools permissions), trying to use the
"Tools -> Upload local cover image" will fail with "You do not have
permissions [...]".

To test after applying the patch:

- Create a staff uesr that has just the catalogue and
  upload_local_cover_images permission.
- Log in as that staff user.
- Go to "Tools -> Upload local cover image".
- Verify that one is given the form to upload a cover image.
- Without the patch, one will be presented with the login
  form instead.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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


More information about the Koha-bugs mailing list