[Koha-bugs] [Bug 3800] New: In OPAC when a logged in user tries to reach a page for which he/she does not have permission, the message saying "Koha doesn't think you have permission" is not displayed.
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Sat Nov 21 19:36:20 CET 2009
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3800
Summary: In OPAC when a logged in user tries to reach a page for
which he/she does not have permission, the message
saying "Koha doesn't think you have permission" is not
displayed.
Product: Koha
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Severity: blocker
Priority: P1
Component: OPAC
AssignedTo: jmf at liblime.com
ReportedBy: cnighswonger at foundations.edu
Estimated Hours: 0.0
Change sponsored?: ---
[Saturday 13:20] <|Lupin|> pianohacker: bug is in opac. When a
logged in user tries to reach a page for which he/she does not have permission,
the message saying "Koha doesn't think you have permission" is not displayed.
[Saturday 13:21] <pianohacker> Hmm. Wouldn't that only happen on the
opac on the self-checkout screen?
[Saturday 13:22] <|Lupin|> pianohacker: I think it's because
koha-auth.tmpl and C4/Auth.pm disagree: the templates requires the lloginprompt
variable to be defined to check the nopermission parameter, whereas the script
defines the nopermission parameter only of loginprompt is not defined...
[Saturday 13:23] <pianohacker> I mean, theoretically it could occur if
someone turned off the borrow permission, but when have you seen this happen?
[Saturday 13:23] <|Lupin|> pianohacker: I don't know where it
would happen in traditional KOha install. The thing is that on our nstall
permissions are used because some users should be allowed to download some
files only if they have a given permission, that's how I discovered the
problem.
[Saturday 13:24] <pianohacker> Ah, okay.
[Saturday 13:24] <|Lupin|> pianohacker: I'm not saying it happens
on traditional installs. I'm just pointing the disagreement between the script
and the template which is a more general problem users may not see now but may
see one day
[Saturday 13:25] <|Lupin|> pianohacker: I don't know exactly how
this should be fixed but think it'd be nice if someone could fix it.
[Saturday 13:27] <chris_n2> |Lupin|: definitely file a bug
[Saturday 13:28] <pianohacker> |Lupin|: Confirmed on 3.00.01.041
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list