[Koha-bugs] [Bug 33606] Access to ERM requires parameters => 'manage_sysprefs'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 10 09:37:18 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33606
--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
https://irc.koha-community.org/koha/2023-05-09#i_2485635
"""
it could certainly be /config/erm
i.e. constrained to specific modules
and instead of exposing the sysprefs
list enabled modules
or components
in terms of your solution, it is just a matter of naming things more
generically, and consistently
"""
Please be explicit, I don't understand.
I am exposing ERMModule and ERMProviders. Why should I make the code obscure
and hide that behind an other config key? Having the syspref names in tt/vue to
grep make things easy.
If it's really important for you, I am suggesting
/config/erm
{
enabled => 1|0,
providers => ['local', 'ebsco'],
}
For now.
Then we will add the permission list later (for bug 32968), and it could be
something like:
{
enabled => 1|0,
providers => ['local', 'ebsco'],
permissions => ['agreements.write', 'eholdings.write'], etc.
}
Would that work for everybody?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list