[Koha-bugs] [Bug 12528] Enable staff to deny message setting access to patrons on the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 4 20:48:57 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12528

Mirko Tietgen <mirko at abunchofthings.net> changed:

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

--- Comment #12 from Mirko Tietgen <mirko at abunchofthings.net> ---
Created attachment 36511
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36511&action=edit
Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC

This fix permits the staff to pull apart the access to patron message setting.

Modified:

installer/data/mysql/sysprefs.sql                                        
-OPACEnhancedMessagingPreferences preference added
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref   
-OPACEnhancedMessagingPreferences preference added
koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc                   
-access to message setting changed

Testing:

I Apply the patch
II Run updatedatabase.pl

0) Search OPACEnhancedMessagingPreferences preference;
1) Validate "OPACEnhancedMessagingPreferences show patron messaging setting on
the OPAC (NOTE: EnhancedMessagingPreferences must be enabled).";
2) Disable OPACEnhancedMessagingPreferences preference;
3) Enable EnhancedMessagingPreferences preference;
4) On the OPAC -> user's settings, validate "your messaging" is not showed.

Patch behaves as expected
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
I fixed some minor conflicts, so I'm sending all patches w/ signoff

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


More information about the Koha-bugs mailing list