Bug 10799: Limit the SCO user to the SCO module
commit477da3c192ac65581a5e1f810789ced86cce5146
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Sep 2015 16:13:41 +0000 (2 17:13 +0100)
committerLiz Rea <wizzyrea@gmail.com>
Wed, 9 Dec 2015 22:02:27 +0000 (10 11:02 +1300)
tree16da749f3c08db85e9f3588e7f5ee232f9cbf62c
parentce5b361fc81938695b3a7271f803d1322d93b63b
Bug 10799: Limit the SCO user to the SCO module

The SCO user should only be allowed to access to the SCO module.

This patch make the session ends if the user tries to access another
page after the SCO module.

Test plan:
0/ Configure the SCO module correctly
1/ Go on the sco main page (sco/sco-main.pl)
2/ Try to go somewhere else: you should not be logged in

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 02feeca14f4c27a05f46920545734c3a9e5455d7)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 7853b503ab8aadd98d5908768dd4252208850b04)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
C4/Auth.pm