[Koha-bugs] [Bug 22765] Add class beside loggedinusername to indicate if logged in user is a superlibrarian

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 24 17:06:14 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22765

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #88633|0                           |1
        is obsolete|                            |

--- Comment #4 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 88634
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88634&action=edit
Bug 22765: Add class beside loggedinusername to indicate if logged in user is a
superlibrarian

It would be useful to know if a logged in user is a superlibrarian for the
purpose of customization
using Javascript and CSS.

Test Plan:
1) Apply this patch, restart all the things
2) Log in as a superlibraraian
3) Note the new class 'is_superlibrarian' next to the 'loggedinusername' class
4) Log in as a non-superlibrarian
5) Note the new class is not present

Signed-off-by: Barton Chittenden <barton at bywatersolutions.com>

Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Fix commit message

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list