[Bug 20383] New: Hide link to plugin management if plugins are not enabled
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Bug ID: 20383 Summary: Hide link to plugin management if plugins are not enabled Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com The administration home page shows a link to plugins management if the user has permission to manage plugins. It should also check whether plugins are enabled. If plugins are disabled there isn't anything to administer. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |oleonard@myacpl.org |ity.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 72766 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72766&action=edit Bug 20383: Hide link to plugin management if plugins are not enabled This patch adds a check in admin-home.pl to see whether plugins are enabled. If plugins are disabled, the link to plugins management is hidden even if the user has plugin management permission. To test, view the administration home page with plugins enabled and disabled via the enable_plugins flag in the Koha configuration file. Also test using users with different plugins permissions: - Plugins enabled - CAN_user_plugins = 1 -> Plugins link appears - CAN_user_plugins = 0 -> Plugins link hidden - Plugins disabled - CAN_user_plugins = 1, - CAN_user_plugins = 0 -> Plugins link hidden -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #72766|0 |1 is obsolete| | --- Comment #2 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 72811 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72811&action=edit Bug 20383: Hide link to plugin management if plugins are not enabled This patch adds a check in admin-home.pl to see whether plugins are enabled. If plugins are disabled, the link to plugins management is hidden even if the user has plugin management permission. To test, view the administration home page with plugins enabled and disabled via the enable_plugins flag in the Koha configuration file. Also test using users with different plugins permissions: - Plugins enabled - CAN_user_plugins = 1 -> Plugins link appears - CAN_user_plugins = 0 -> Plugins link hidden - Plugins disabled - CAN_user_plugins = 1, - CAN_user_plugins = 0 -> Plugins link hidden Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Patch complexity|Small patch |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #72811|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 73071 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73071&action=edit Bug 20383: Hide link to plugin management if plugins are not enabled This patch adds a check in admin-home.pl to see whether plugins are enabled. If plugins are disabled, the link to plugins management is hidden even if the user has plugin management permission. To test, view the administration home page with plugins enabled and disabled via the enable_plugins flag in the Koha configuration file. Also test using users with different plugins permissions: - Plugins enabled - CAN_user_plugins = 1 -> Plugins link appears - CAN_user_plugins = 0 -> Plugins link hidden - Plugins disabled - CAN_user_plugins = 1, - CAN_user_plugins = 0 -> Plugins link hidden Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 18.05, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |nick@bywatersolutions.com --- Comment #5 from Nick Clemens <nick@bywatersolutions.com> --- Awesome work all, backported to stable for 17.11.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #6 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Pushed to 17.05.x for 17.05.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Stable |RESOLVED Resolution|--- |FIXED CC| |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org