Go to file
Owen Leonard c678eccdb6 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>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 8450d2020b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-04-24 15:13:21 +02:00
C4
…
Koha Bug 20229: Explicitly list the SQL modes we support 2018-04-10 08:53:40 +02:00
OpenILS
…
acqui
…
admin Bug 20383: Hide link to plugin management if plugins are not enabled 2018-04-24 15:13:21 +02:00
api/v1
…
authorities Bug 20430: (See also bug 19436) Button display depends on wrong server count 2018-04-24 07:12:19 +02:00
basket
…
catalogue Bug 20341: Show authorized value description for withdrawn like damaged and lost 2018-04-24 07:10:53 +02:00
cataloguing
…
circ
…
clubs
…
course_reserves
…
debian Bug 19547: Deal with --create-db missing debian.cnf issue 2018-04-24 07:17:05 +02:00
docs
…
errors
…
etc
…
installer
…
koha-tmpl Bug 20383: Hide link to plugin management if plugins are not enabled 2018-04-24 15:13:21 +02:00
labels
…
members
…
misc Bug 12812: (Follow-up) Fix use of C4::Circulation 2018-04-10 09:31:32 +02:00
offline_circ
…
opac
…
patron_lists
…
patroncards
…
plugins
…
reports
…
reserve
…
reviews
…
rotating_collections
…
serials
…
services
…
skel
…
sms
…
suggestion
…
svc
…
t Bug 20311: Prevent get_age tests to fail on Feb 28th 2018-04-10 09:04:09 +02:00
tags
…
test
…
tmp/modified_authorities
…
tools
…
virtualshelves
…
xt
…
.editorconfig
…
.htaccess
…
.mailmap
…
INSTALL
…
Koha.pm
…
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL
…
README
…
README.md
…
README.robots
…
about.pl
…
changelanguage.pl
…
edithelp.pl
…
fix-perl-path.PL
…
help.pl
…
install-CPAN.pl
…
koha_perl_deps.pl
…
kohaversion.pl
…
mainpage.pl
…
rewrite-config.PL
…

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo