]> git.koha-community.org Git - koha.git/commit
Bug 22483: (QA follow-up) Corrections to logic in check_cookie_auth
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 8 Mar 2019 14:20:41 +0000 (14:20 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 Mar 2019 18:26:05 +0000 (15:26 -0300)
commit6b457885cd325da444d39b031eac567eb0f46351
tree5dd9da06689f4ce75babb88cc98f804854483152
parent32551fffdb4296456df2061fd5eaaf403a5799c2
Bug 22483: (QA follow-up) Corrections to logic in check_cookie_auth

check_cookie_auth needs to allow for cases where we wish to check for
ANY permission and cases where we wish to skip the permissions check
entirely and just authenticate the session.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Auth.pm
Koha/REST/V1/Auth.pm