[Koha-bugs] [Bug 9780] Restric the right to suppress a record used in some order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 21 01:09:46 CEST 2013


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

Paul Poulain <paul.poulain at biblibre.com> changed:

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

--- Comment #42 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 22128
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22128&action=edit
Bug 9780 : Restric the right to suppress a record used in some order

Currently, anyone can suppress a record used in an order.
With this patch, only librarians with managing order permission can suppress it
if it is used in an active or a deleted order.
This patch also add a specific warning informing that deleting a record used in
an active order is dangerous.

To test :
A. test what can do and see a librarian with order managing rights
0) Connect to Koha with a borrower with order managing rights
1) in a basket, create 2 orders A & B from new records
2) delete order B
3) in the catalogue, try to suppress
- record used for order A : you should see a specific warning informing you the
record is used in 1 order, and that deleting it is dangerous
- record used for order B : you should see a specific warning informing you the
record is used in 1 deleted order
- a record not used in any order : you should see no specific warning

B. test what can do and see a librarian without order managing rights
4) Connect to Koha with a borrower without order managing rights
5) in a basket, create 2 orders A & B from new records
6) delete order B
7) in the catalogue, try to suppress
- record used for order A : you should see a specific warning informing you you
need specific rights to suppress the record
- record used for order B : idem
- a record not used in any order : you should see no specific warning

Signed-off-by: Pierre Angot <tredok.pierre at gmail.com>
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

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


More information about the Koha-bugs mailing list