Bug 10079 - HomeOrHoldingBranch should not control who can delete when IndependantBra...
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 19 Apr 2013 14:21:43 +0000 (10:21 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 13 May 2013 01:06:24 +0000 (21:06 -0400)
commit41b16e0fec61aa3eb5b227e59c1fd7c2e5e3d58d
tree5f7eef46f0eb62f5781783c05dd05fa13b02a78f
parentfc1353caf400c928107dc72ebe34f2ff8ee424d6
Bug 10079 - HomeOrHoldingBranch should not control who can delete when IndependantBranches is enabled

Test Plan:
1) Enable IndependantBranches
2) Set HomeOrHoldingBranch to holding branch
3) Delete an item whose holding branch is your logged in branch, and
   whose home branch is not
4) Apply this patch
5) Repeat step 3, it should fail
6) Try to delete another items whose home branch is your logged in
   branch, and whose holding branch is a different branch. This
   deletetion should succeed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Change is logical, only homebranch should determine if the item
can be deleted.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit f1d68112820483b8cc5e837f6ded6f9bebe83717)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Items.pm