Bug 36572: Fix and clean-up set library
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 11 Apr 2024 08:38:04 +0000 (08:38 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 12 Apr 2024 09:25:59 +0000 (11:25 +0200)
commit60564519b0e84b9bc911dc2cab55a5a2a76a502e
tree3168dcd9570691a457a2274223ecd7d46bde4579
parenta37ebc77b7f3513b2775ebb8819a710e5a2eb416
Bug 36572: Fix and clean-up set library

To test:
1. Have 3 staff accounts to test:
  -STAFF A: superlibrarian
  -STAFF B: loggedinlibrary permission
  -STAFF C: no loggedinlibrary or superlibrarian permission
2. Enable 'UseCirculationDesks' and create some desks. (Admin >
   Circulation desks)
3. Enable 'UseCashRegisters' and create some registers ( Admin > Cash
   registers)
4. Use STAFF A ( superlibrarian ) and make sure you can change branch,
   desk and register.
5. Use STAFF B ( loggedinlibrary permission ) and make sure you can
   change branch, desk and register.
6. Use STAFF C ( no loggedinlibrary or superlibrarian permission ) and
   make sure you can change branch, desk and register.
7. Each time you change you should be redirected to the page you were
   previously on.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
circ/set-library.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt