https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37041

--- Comment #30 from Jonathan Druart <[email protected]> ---
(In reply to Jonathan Druart from comment #29)
> is_auth would just need to get the patron's id from userenv, if exists it
> means that the user is authenticated already.

Wait, isn't that true already actually?

Cannot we simply replace the check_cookie_auth call with
  C4::Auth::haspermission(C4::Context->userenv->{id}, {catalogue => 1})
here?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to