<html><head></head><body>Kia ora Markus<br>
<br>
Shifting this over to the development list.<br>
As you are more likely to get an answer there.<br>
<br>
If no one has answered by the time I get in front of a computer, I'll try :)<br>
<br>
Chris <br><br><div class="gmail_quote">On 14 June 2018 7:02:30 AM NZST, Markus Becker <beckmarkus@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Dear Koha-Community,<br><br>i did not find any hint oder documentation, where the permissions for<br>using tools etc. are stored.<br><br>My example:<br>For testing purpose i want to insert my own perl-script into Koha and<br>it should appear on the "tools"-page.<br><br>The links on this page are shown to the user or not depending on the<br>permissions he has:<br>(tools-home.tt)<br><br> [% IF ( CAN_user_tools_manage_staged_marc ) %]<br> <dt><a href="/cgi-bin/koha/tools/bibliotheca_convert.pl">Bibliotheca-Datei<br>hochladen</a></dt><br> <dd>Werkzeug um BIBLIOTHECAplus-Exportdatei für den Import hochzuladen</dd><br> [% END %]<br><br>I can not find the place, where these rights are deposited. How does<br>Koha know if a certain right is existing?<br>I found the file permissions.inc but changes there did not having any effect.<br><br>Of cource i could use the permission<br>"CAN_user_tools_manage_staged_marc" for my own script (and then the<br>link is shown), but IMHO it would be not correct to "steal" the<br>permission of another script.<br><br>I would be very grateful if someone could give me a hint how to<br>introduce the permission to start my script to Koha.<br><br>Thank You very much in Advance,<br>Markus Becker<br><hr><br>Koha mailing list  <a href="http://koha-community.org">http://koha-community.org</a><br>Koha@lists.katipo.co.nz<br><a href="https://lists.katipo.co.nz/mailman/listinfo/koha">https://lists.katipo.co.nz/mailman/listinfo/koha</a><br></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>