Bug 26905: Purchase suggestion button hidden for users with suggestion permission but not acq permission
This patch adds a link to purchase suggestions from the header menu's "More" submenu for users with suggestions management permission. To test, apply the patch and log in to the staff interface as a user with "suggestions_manage" permission. - Click the "More" menu item in the header. You should see a link to "Suggestions" which takes you to the suggestions management page. - Log in as a user without "suggestions_manage" permission. The link should not appear. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
012229c5ea
commit
30acf1a988
1 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,9 @@
|
|||
[% IF ( CAN_user_reports ) %]
|
||||
<li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_suggestions_suggestions_manage ) %]
|
||||
<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_tools ) %]
|
||||
<li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></li>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue