Bug 27799

Summary: Add ability to override system preferences in the koha-conf
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, magnus
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2021-02-25 18:22:12 UTC
While we can override preferences for individual hosts in the apache config it would be nice to have a system wide swtich in the koha-conf
Comment 1 Magnus Enger 2021-02-26 09:14:29 UTC
Not sure I understand this. Why not just change the syspref?
Comment 2 Nick Clemens (kidclamp) 2021-02-26 13:19:29 UTC
(In reply to Magnus Enger from comment #1)
> Not sure I understand this. Why not just change the syspref?

The idea is to prevent some preferences from being switched via the staff interface.

In a consortium it may be desirable to allow some users access to system configuration, but prevent some settings from being changed accidentally or maliciously.

When overririding by apache the syspref is still present but has a warn that is it overridden, the idea would be the same here - allow users to see the pref, but prevent the value from being changed