Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart bcab241639 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>
2015-09-07 10:46:46 -03:00
..
acqui Bug 12906: DataTables: Use -1 to specify the last column 2015-07-24 13:53:29 -03:00
admin Bug 12965: Prevent to erase an existing item type 2015-09-02 14:39:11 -03:00
authorities Bug 8399: Display tab number on the mandatory field alert (authority) 2015-05-18 12:11:23 -03:00
basket Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
batch
catalogue Bug 14354: Prevent edition of items from other branches if IndependentBranches is on 2015-09-07 10:46:46 -03:00
cataloguing Bug 13943: Prevent the deletion of items if the user cancels 2015-09-02 14:37:50 -03:00
circ Bug 14464: Add ability to cancel waiting holds from checkin screen 2015-08-21 09:20:11 -03:00
common
course_reserves
errors Bug 14574: Fixing error messages on staff client so they make more sense 2015-08-18 13:18:22 -03:00
help Bug 14548: Typo in help file for 3.20 (batch_record_modification.tt) 2015-08-03 12:00:08 -03:00
installer Bug 14152: Re-check required dependencies during upgrade process 2015-05-18 12:12:33 -03:00
labels Bug 11880: Select what has been selected before 2015-08-28 10:09:02 -03:00
members Bug 14652: Change one more occurrence of N/A. 2015-08-21 10:03:20 -03:00
offline_circ
patron_lists
patroncards Bug 14107: Patron cards: Make barcode width and height scaling editable 2015-07-24 14:07:18 -03:00
plugins
reports Bug 14029: Provide 'clear' link to empty reports search filters 2015-06-11 13:08:53 -03:00
reserve Bug 9809: [QA Follow-up] Still found some remains 2015-08-26 10:26:58 -03:00
reviews
rotating_collections
serials Bug 14423: Multiple XSS vulnerabilities in serials-search 2015-06-23 10:12:26 -03:00
services
sms
suggestion Bug 14423: Multiple XSS bugs in suggestion.pl 2015-06-23 10:12:33 -03:00
tags
test
tools Bug 14703: Holidays description shows \r\n for every new line 2015-08-28 10:40:18 -03:00
virtualshelves Bug 14517: List shelves list is broken for translated interfaces 2015-08-18 13:18:21 -03:00
about.tt Bug 11584: Add TinyMCE license to about.pl 2015-08-28 10:29:08 -03:00
auth.tt
intranet-main.tt