[Koha-bugs] [Bug 21198] authenticate_api_request should stash the reason access is granted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 16:47:01 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21198
--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
In reality, what I believe would be considerably more useful is for us to
implement the FIXME in C4::Auth->haspermission `#FIXME - This fcn should return
the failed permission so a suitable error msg can be delivered.`
Passing back the permission one is missing, perhaps as a catch-able
Koha::Exception or something would be a distinctly more useful pattern.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list