http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9780
Paul Poulain <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #21254|0 |1 is obsolete| | --- Comment #42 from Paul Poulain <[email protected]> --- 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 <[email protected]> Signed-off-by: Paul Poulain <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
