[Koha-bugs] [Bug 8262] Special kohaadmin cannot create lists

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 7 18:31:12 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8262

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |kyle at bywatersolutions.com

--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
Instead of having all this code in the perl scripts, wouldn't it be far simpler
to to check C4::Context->userenv->{number} and display a warning that this
account can't create a list? 

A TT plugin for userenv access could simplify this even more. I think a UserEnv
sub that returned whatever $userenv->{$key} could easily be added to the Koha
TT plugin.

In addition, the code assumes that any failure should generate this message,
which may not always be the case. I'd say that's a qa blocker.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list