[koha-commits] main Koha release repository branch 3.8.x updated. v3.08.08-15-g774f7ee

Git repo owner gitmaster at git.koha-community.org
Tue Jan 15 05:28:07 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.8.x has been updated
       via  774f7eece6da4e39a70675921e344c80cc92f666 (commit)
      from  8b278669d1a8d30daa4fb44ee8232e91ac2d1edb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 774f7eece6da4e39a70675921e344c80cc92f666
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date:   Wed Jan 9 10:40:24 2013 +0100

    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>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    mysql> select * from permissions where code="upload_cover_images";
    Empty set (0.00 sec)
    
    mysql> select * from permissions where code="upload_local_cover_images";
    +------------+---------------------------+---------------------------+
    | module_bit | code                      | description               |
    +------------+---------------------------+---------------------------+
    |         13 | upload_local_cover_images | Upload local cover images |
    +------------+---------------------------+---------------------------+
    1 row in set (0.00 sec)
    
    "git grep upload_cover_images" returns 0 result.
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-----------------------------------------------------------------------

Summary of changes:
 tools/upload-cover-image.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list