It works! P1 and P2 are inverted in the test plan, but
the principle that user with manage permission accesses
bg jobs from the admin page and user who do not only
have access through main page is there.
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
</ul>
[% END %]
+ [% IF CAN_user_parameters_manage_background_jobs %]
+ <h5>Background jobs</h5>
+ <ul>
+ <li><a href="/cgi-bin/koha/admin/background_jobs.pl">Background jobs</a></li>
+ </ul>
+ [% END %]
+
[% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config ) %]
<h5>Catalog</h5>
<ul>
<dd>View, manage, configure and run plugins.</dd>
</dl>
[% END %]
+
+ [% IF CAN_user_parameters_manage_background_jobs %]
+ <h3>Background jobs</h3>
+ <dl>
+ <dt><a href="/cgi-bin/koha/admin/background_jobs.pl">Manage background jobs</a></dt>
+ <dd>View, manage and cancel background jobs.</dd>
+ </dl>
+ [% END %]
+
</div>
<div class="col-md-6 sysprefs">