Go to file
Jonathan Druart 821aa63e41 Bug 14354: Prevent edition of items from other branches if IndependentBranches is on
If IdependentBranches is ON, to edit/delete items from other branches
you need to be superlibrarian.
Currently a "simple" staff user cannot edit them from the edit item page
but from the catalogue detail page.

The edit links should not be displayed on this table.

Test plan:
O/ Set IndependentBranches to "Prevent".
Create a record and add 2 items:
   Set homebranch to L1 for item I1.
   Set homebranch to L2 for item I2.
1/ With a superlibrarian user, you should be able to edit both items.
2/ With a "simple" user attached to L1, you should only be able to edit
I1. The edit links should not be displayed for I2.

Note that the checkbox is displayed on the catalogue detail page (item
list), but on the batch tools, it won't be possible to select non-modifiable
items.

TODO: Add a server-side check. Indeed it is still possible to edit an
item if the user know the url.

Followed test plan. Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bcab241639)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
(cherry picked from commit 28fe340ea7)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-09-29 01:07:11 +13:00
C4 Bug 12885: Fix if url contains +*... and HTML5 Media is enabled 2015-09-29 01:06:41 +13:00
Koha Bug 14584: Encoding broken with system preferences 2015-09-29 01:06:54 +13:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04:00
acqui Bug 11247: Fix calls of TransformHtmlToXml 2015-09-29 01:06:28 +13:00
admin Bug 12965: Prevent to erase an existing item type 2015-09-29 01:06:48 +13:00
authorities Bug 14387: Merge reference selection has no effect when merging authorities. 2015-08-28 14:55:24 +12:00
basket Bug 13343: Embed items when send a basket/shelf 2015-02-26 18:05:16 +13:00
catalogue Bug 14354: Prevent edition of items from other branches if IndependentBranches is on 2015-09-29 01:07:11 +13:00
cataloguing Bug 13268: the size should not be emptied in pl script 2015-04-22 22:25:30 +12:00
circ Bug 14324: Display "Add Child" for Organisations on circ/circulation.pl 2015-07-26 01:20:14 +12:00
course_reserves Bug 11866: (follow-up) repair security issue introduced by main patch 2014-03-10 14:57:17 +00:00
debian Bug 14203 - Message for non-existent lang removal 2015-07-25 16:22:09 +12:00
docs Bug 7143: Updating new developers 2014-07-23 20:43:21 +00:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Bug 14453: (followup) Fix shipped XSLT files 2015-07-26 01:20:16 +12:00
install_misc Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
installer Bump version to 3.16.14 2015-08-28 18:47:38 +12:00
koha-tmpl Bug 14354: Prevent edition of items from other branches if IndependentBranches is on 2015-09-29 01:07:11 +13:00
labels Bug 11880: Select what has been selected before 2015-09-29 01:06:09 +13:00
members Bug 14566: Fix permissions in patronimage.pl 2015-08-28 14:55:25 +12:00
misc Translation updates for Koha 3.16.14 release 2015-08-31 21:47:42 +12:00
offline_circ Bug 10240: (follow-up) don't display patrons as lost or gone-no-address incorrectly 2013-10-11 01:57:05 +00:00
opac Bug 11693: Default emailing preferences not loaded for self registering patron 2015-08-28 14:55:24 +12:00
patron_lists Bug 10565: (follow-up) add new user permission for patron list management 2013-10-14 22:43:03 +00:00
patroncards Bug 14366 - Units doesn't get saved usefully for patroncards 2015-07-26 01:20:17 +12:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 14426: Escape or use placeholders for sql parameters 2015-07-26 01:20:04 +12:00
reserve Bug 11801: In transit hold items incorrectly labels as "Waiting to be pulled" on request.pl 2014-06-18 21:11:53 +00:00
reviews Bug 1623 - Provide view of approved comments 2011-12-27 18:26:50 +01:00
rotating_collections Bug 9605: rotating collections permissions are wrong 2013-03-30 22:11:05 -04:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 11226: subscription frequencies and numbering patterns should be editable with serials permissions 2014-07-23 21:26:10 +00:00
services Bug 11715: require authentication for various staff scripts 2014-06-25 22:43:20 +00:00
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
sms Bug 10611: Use mysql_auto_reconnect instead of ping 2014-03-10 23:15:35 +00:00
suggestion Bug 10519: (followup) Fix context for evalyating $borrowernumber 2014-09-23 20:27:26 +00:00
svc Bug 13801: svc/bib - Set charset to utf-8 on printing header 2015-03-26 13:15:30 +13:00
t Bug 11247: Improve tests 2015-09-29 01:07:05 +13:00
tags Bug 10730: Use DataTables on the tag review page 2013-09-25 16:47:59 +00:00
test 3.16.x test push 2014-12-22 16:21:38 +13:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Bug 13663 - QA Followup, removing tab chars 2015-08-28 14:55:25 +12:00
virtualshelves Bug 13343: Embed items when send a basket/shelf 2015-02-26 18:05:16 +13:00
xt Bug 12271: (follow-up) teach valid-templates.t how to include specified templates 2014-05-19 16:14:28 +00:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap 7439 Mailmap for master 2012-01-27 12:27:58 +01:00
INSTALL Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.debian Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.fedora7 Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.opensuse Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.ubuntu Bug 7764: (follow-up) editorial tweaks 2013-10-04 16:27:55 +00:00
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
Makefile.PL Bug 13586: Remove some other occurrences 2015-03-27 16:49:14 +13:00
README Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
README.robots Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
about.pl Bug 14006: about.pl checks the wrong zebra index mode 2015-05-29 20:21:23 +12:00
changelanguage.pl Bug 6755 Problems with switching languages 2011-09-23 09:47:09 +12:00
edithelp.pl Bug 11661: sanitize file names supplied to edithelp.pl 2014-02-05 01:36:10 +00:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Bug 11238: contruct links to the appropriate manual version dynamically 2013-11-23 19:30:16 +00:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
koha_perl_deps.pl bug 10548: fix count of missing required dependencies by koha_perl_deps.pl 2013-07-11 14:03:32 +00:00
kohaversion.pl Bump version to 3.16.14 2015-08-28 18:47:38 +12:00
mainpage.pl Bug 7567 - Use, display, filter News by library 2014-04-07 18:14:19 +00:00
rewrite-config.PL Bug 10729: Add phrases configuration for ICU 2014-05-05 04:10:57 +00:00

README

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/