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> (cherry picked from commit30acf1a988) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit3b8144a1aa) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
parent
fe8ab2e9c7
commit
9455ff0c78
|
|
@ -50,6 +50,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 New Issue