[Koha-bugs] [Bug 5557] New: Logs cannot be viewed by user with granular permission view_system_logs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 30 12:04:18 CET 2010


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

           Summary: Logs cannot be viewed by user with granular permission
                    view_system_logs
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Transaction logs
        AssignedTo: paul.poulain at biblibre.com
        ReportedBy: januszop at gmail.com
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


Proposed correction: in biblio-view-menu.inc change CAN_user_parameters to
CAN_user_tools_view_system_logs.

Regards,

Janusz

--- ../koha-3.2.2/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
2010-12-22 01:58:29.000000000 +0200
+++
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
2010-12-28 11:22:51.000000000 +0200
@@ -29,7 +29,7 @@
 <ul>
 <!-- TMPL_IF NAME="issuehistoryview" --><li class="active"><!-- TMPL_ELSE
--><li><!-- /TMPL_IF -->
 <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=<!-- TMPL_IF
NAME="object" --><!-- TMPL_VAR NAME="object" --><!-- TMPL_ELSE --><!-- TMPL_IF
NAME="object" --><!-- TMPL_VAR NAME="object" --><!-- TMPL_ELSE --><!-- TMPL_VAR
NAME="biblionumber" --><!-- /TMPL_IF --><!-- /TMPL_IF -->" >Checkout
history</a></li>
-<!-- TMPL_IF NAME="CAN_user_parameters"--><!-- TMPL_IF NAME="logview" --><li
class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a
href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=<!--
TMPL_VAR NAME="biblionumber"-->">Modification log</a> </li><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="CAN_user_tools_view_system_logs"--><!-- TMPL_IF
NAME="logview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a
href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=<!--
TMPL_VAR NAME="biblionumber"-->">Modification log</a> </li><!-- /TMPL_IF -->
 </ul>
 </div>

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list