[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
Thu Dec 3 10:13:48 CET 2015


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

--- Comment #29 from Frédéric Demians <frederic at tamil.fr> ---
Suggestion for OPACEnhancedMessagingPreferences. It could have 3 values rather
than 2:

  0- Not displayed
  1- Displayed
  2- Modifiable 

When updating an existing DB (see Jonathan comment):

  my $emp = C4::Context->preference('EnhancedMessagingPreferences')
            ? 2 : 0;
  INSERT INTO systempreferences (variable, value, options, explanation, type)
VALUES
  ('OPACEnhancedMessagingPreferences', $emp, NULL,
    'Not display/display/modify patrons messaging setting on the OPAC.',
'YesNo')

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


More information about the Koha-bugs mailing list