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

--- Comment #23 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 189755
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189755&action=edit
Bug 39142: Add debug permission to allow user to toggle JS and CSS
customizations on/off

To test:
1. Apply the patch
2. Use updatedatabase run to update your db
3. Add custom JS and CSS in the IntranetUserJS and IntranetUserCSS fields
4. With a superLibrarian account confirm you have 3 buttons at the bottom of
   your screen, Disable User JS, Disable User CSS, and load only default
   stylesheets
5. Clicking the buttons should reload the current page with a query to
   disable those things.
6. Log in as a user that is not a superlibrarian and does not have the
   debug UI permission enabled
7. Confirm the buttons are no longer visible
8. Add the debug UI permission to the user
9. Confirm the debug buttons are now visible for that user.

Signed-off-by: Lari Strand <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to